public ActionResult Save(StatisticsGroup input)
        {
            if (IsValid(input, out var errorMessage))
            {
                _statisticsProvider.Save(input);
                return(RedirectToAction("ForGroup", new { groupId = input.TargetGroupId }));
            }

            var model = CreateStatisticsGroupEditModel(input);

            model.ErrorMessage = errorMessage;

            return(View("Edit", model));
        }