autobus-api_old/AutobusApi.Application/Cities/Commands/UpdateCity/UpdateCityCommand.cs

13 lines
247 B
C#

using MediatR;
namespace AutobusApi.Application.Cities.Commands.UpdateCity;
public record UpdateCityCommand : IRequest
{
public int Id { get; set; }
public string Name { get; set; } = null!;
public int RegionId { get; set; }
}