Пример #1
0
        public async Task <IHttpActionResult> Delete(int groupId)
        {
            var group = _memberGroupService.GetById(groupId);

            await _permissionsService.DeletePermissionsForMemberGroupAsync(groupId);

            _intranetMemberGroupService.Delete(groupId);

            return(Ok());
        }