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