Esempio n. 1
0
 public UpdateUserCommand(
     IRepository <User> userRepository,
     IAccessRightChecker accessRightChecker,
     IDbChangesUpdater changesSaver
     )
 {
     this.userRepository     = userRepository;
     this.accessRightChecker = accessRightChecker;
     this.changesSaver       = changesSaver;
 }
Esempio n. 2
0
 public CreateDefaultAdminCommand(
     IRepository <User> userRepository,
     IUserInfoProvider userInfoProvider,
     IDbChangesUpdater changesUpdater,
     IAccessRightChecker accessRightChecker
     )
 {
     this.userRepository     = userRepository;
     this.accessRightChecker = accessRightChecker;
     this.userInfoProvider   = userInfoProvider;
     this.changesUpdater     = changesUpdater;
 }
 public RemoveTodoListCommand(
     IRepository <User> userRepository,
     IRepository <TodoList> todoListRepository,
     IAccessRightChecker accessRightChecker,
     IDbChangesUpdater changesSaver,
     IUserInfoProvider userInfoProvider
     )
 {
     this.userRepository     = userRepository;
     this.todoListRepository = todoListRepository;
     this.accessRightChecker = accessRightChecker;
     this.changesSaver       = changesSaver;
     this.userInfoProvider   = userInfoProvider;
 }