public async Task <IHttpActionResult> Delete(long id) { // Decode the Claims for get all values var result = await accountbusiness.Delete(id); if (result) { return(Content(HttpStatusCode.OK, result)); } return(Content(HttpStatusCode.InternalServerError, "Error")); }
public void DeleteAccount(int ID) { accs.Delete(ID); }