public IHttpActionResult InsertClient(object param) { var request = JsonConvert.DeserializeObject <ClientRequest>(param.ToString()); var result = _client.InsertClientDetails(request); return(Json(result)); }
public IHttpActionResult InsertClient(object param) { var request = JsonConvert.DeserializeObject <ClientRequest>(param.ToString()); var result = _client.InsertClientDetails(request); return(Json(result)); }