public UserGroup DeleteGroup(UserGroup userGroup) { UserGroupService userGroupService = new UserGroupService(); var createGroups = userGroupService.DeleteGroup(userGroup); return(createGroups); }