private SubActivityService CreateSubActivityService() { var userId = Guid.Parse(User.Identity.GetUserId()); var subActivityService = new SubActivityService(userId); return(subActivityService); }
public GroupActivityController() { _groupActivityService = new GroupActivityService(); //_systemService = new DepartmentService(); _comm = new Core.Domain.Common.Active(); _userService = new UserService(); _groupService = new GroupService(); _groupActivityService = new GroupActivityService(); _subActivityService = new SubActivityService(); }