public string DeleteAccount() { //Retrieve POST data string accountId = Request.Content.ReadAsStringAsync().Result; clsDAL objDAL = new clsDAL(); return objDAL.deleteAccount(accountId).ToJSON(); }
public string DeleteAccount() { //Retrieve POST data string accountId = Request.Content.ReadAsStringAsync().Result; clsDAL objDAL = new clsDAL(); return objDAL.deleteAccount(accountId).ToJSON(); }