public IHttpActionResult Delete(int id) { var result = _roomServices.Delete(id); return(ApiHelper.ReturnHttpAction(result, this)); }
public ActionResult DeleteConfirmed(int id) { _db.Delete(id); return(RedirectToAction("Index")); }