Пример #1
0
        // GET: Requsition/Delete/5
        public ActionResult Delete(int?id)
        {
            if (id == null)
            {
                return(HttpNotFound());
            }
            Requsition requisition = _requisitionManager.GetById((int)id);
            bool       isRemove    = _requisitionManager.Remove(requisition);

            if (isRemove)
            {
                return(RedirectToAction("Index"));
            }
            return(View());
        }