Exemple #1
0
        public IHttpActionResult Delete(int id)
        {
            var result = _roomServices.Delete(id);

            return(ApiHelper.ReturnHttpAction(result, this));
        }
Exemple #2
0
 public ActionResult DeleteConfirmed(int id)
 {
     _db.Delete(id);
     return(RedirectToAction("Index"));
 }