public void DeleteList(string listname, string user) { DashboardLogic logic = new DashboardLogic(); logic.DeleteList(listname, user); }
public ActionResult DeleteList(string id) { mDashboardLogic.DeleteList(id, HttpContext.Session.GetString("Username")); return(RedirectToAction("Index")); }