public ActionResult Remove(int statisticsGroupId) { var groupId = _statisticsProvider.GetTargetGroupIdForStatisticsGroup(statisticsGroupId); _statisticsProvider.Remove(statisticsGroupId); return(RedirectToAction("ForGroup", new { groupId })); }
public ActionResult Remove(int statisticsGroupId) { var groupId = _statisticsProvider.GetTargetGroupIdForStatisticsGroup(statisticsGroupId); _statisticsProvider.Remove(statisticsGroupId); return(RedirectToAction("ForGroup", new { groupId })); }