public IHttpActionResult Delete(long id) { if (Logic.Delete(id)) { return(Ok()); } else { return(NotFound()); } }
public ActionResult DeleteConfirmed(int id) { _statusLogic.Delete(id); return(RedirectToAction("Index")); }
public IHttpActionResult Delete(long id) { if (Logic.Delete(id)) { return(Ok()); } else { return(NotFound()); } }
public ActionResult DeleteConfirmed(int id) { _statusLogic.Delete(id); return(RedirectToAction("Index")); }