public ActionResult DeleteConfirmed(Teams team) { if (Session["Username"] != null) { facade.GetTeamGatewayServiceGateway().Delete(team); return RedirectToAction("Index"); } return HttpNotFound(); }
public ActionResult Create(Teams team) { facade.GetTeamGatewayServiceGateway().Add(team); return RedirectToAction("Index"); }