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

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

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