autobus-api_old/AutobusApi.Application/Cities/Commands/CreateCity/CreateCityCommand.cs

11 lines
215 B
C#

using MediatR;
namespace AutobusApi.Application.Cities.Commands.CreateCity;
public record CreateCityCommand : IRequest<int>
{
public string Name { get; set; } = null!;
public int RegionId { get; set; }
}