public UserController(UserEvents UserRepository,
                       GroupUserEvent groupUserEvent,
                       UserLoggedEvent userLoggedEvent,
                       GroupEvent groupEvent)
 {
     _groupEvent      = groupEvent;
     _userRepository  = UserRepository;
     _groupUserEvent  = groupUserEvent;
     _userLoggedEvent = userLoggedEvent;
     _object          = new ResultModel <Domain.Client.DTO.User>();
 }
 public GroupController(UserLoggedEvent userLoggedEvent, GroupUserEvent groupUserEvent, GroupEvent groupEvent)
 {
     _userLoggedEvent = userLoggedEvent;
     _groupUserEvent  = groupUserEvent;
     _groupEvent      = groupEvent;
 }