using Baya.Application.Models.Common;
using Baya.Application.Models.Geography;
using Mediator;

namespace Baya.Application.Features.Geography.Commands.UpdateDistrict;

/// <summary>Admin: edit a district's names/sort order. <c>Id</c> comes from the route. Invalidates cache.</summary>
public record UpdateDistrictCommand(long Id, string NameFa, string NameEn, int SortOrder)
    : IRequest<OperationResult<DistrictDto>>;
