Код: Выделить всё
public class ModelRequestVM : BaseRequestVM
{
#region Properties and Data Members
public uint ModelId { get; set; }
public uint? MakeId { get; set; }
public string MakeName { get; set; }
public string ModelName { get; set; }
public uint? ExternalModelId { get; set; }
#endregion
}
это мой запрос на получение: https://localhost:44311/api/model/getlist?MakeId=null
Я получаю следующую ошибку:
Код: Выделить всё
The value 'null' is not valid for MakeId.Подробнее здесь: https://stackoverflow.com/questions/553 ... lable-type
Мобильная версия