public string NewComplaint() { //Retrieve POST data string jsonComplaintDetail = Request.Content.ReadAsStringAsync().Result; clsDAL objDAL = new clsDAL(); return objDAL.newComplaint(jsonComplaintDetail).ToJSON(); }
public string NewComplaint() { //Retrieve POST data string jsonComplaintDetail = Request.Content.ReadAsStringAsync().Result; clsDAL objDAL = new clsDAL(); return objDAL.newComplaint(jsonComplaintDetail).ToJSON(); }