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

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

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