예제 #1
0
        // deletes an assignment by ID
        public ActionResult Delete(int id)
        {
            _service.DeleteAssignmentByID(id);

            return(RedirectToAction("Index"));
        }