Ejemplo n.º 1
0
 public UserService(
     ICanExecuteRequest<CheckIfUserExistsRequest, bool> checkIfUserExistsCommand,
     ICanExecuteRequest<CreateUserRequest, User> createUserCommand,
     ICanExecuteRequest<GetUserRequest, User> getUserCommand,
     ICanExecuteRequest<GetUserByIdRequest, User> getUserByIdCommand)
 {
     _checkIfUserExistsCommand = checkIfUserExistsCommand;
     _createUserCommand = createUserCommand;
     _getUserCommand = getUserCommand;
     _getUserByIdCommand = getUserByIdCommand;
 }
Ejemplo n.º 2
0
 public GroupService(ICanExecuteRequest<CreateGroupRequest, Group> createGroupCommand)
 {
     _createGroupCommand = createGroupCommand;
 }