I have LoginModel:
public class LoginModel : IData { public string Email { get; set; } public string Password { get; set; } }
and I hav
If your are using Newtonsoft.Json, you can add JsonProperties to your view model :
public class LoginModel : IData { [JsonProperty(PropertyName = "email")] public string Email {get;set;} [JsonProperty(PropertyName = "password")] public string Password {get;set;} }