Пример #1
0
        public ActionResult DeleteConfirmed(int id)
        {
            AuthActivityGroupMap authactivitygroupmap = _activityServices.GetActivityGroupMapById((int)id);

            // get properties of tenant
            caTenant tenant = caCurrent.CurrentTenant();

            // get properties of user
            caUser user = caCurrent.CurrentUser();

            _activityServices.DeleteActivityGroupMap(authactivitygroupmap, user.UserId);
            return(RedirectToAction("Index"));
        }