public ActionResult LeaveConfirmed(int id) { using (var collectService = new CollectsService()) { collectService.LeaveConfirmed(id, GetUserId()); return(RedirectToAction("Index", "Collects")); } }
public ActionResult LeaveConfirmed(int id) { using (var collectService = new CollectsService()) { collectService.LeaveConfirmed(id, GetUserId()); return(RedirectToAction("Index", "Collects")); } }