Error converting value {null} to type 'System.DateTime' in input json
As the error is trying to tell you, .Net value types like DateTime
cannot hold nulls.
If you want to allow nulls, use nullable types:
DateTime? StartDateFrom { get; set; }
As the error is trying to tell you, .Net value types like DateTime
cannot hold nulls.
If you want to allow nulls, use nullable types:
DateTime? StartDateFrom { get; set; }