Exemplo n.º 1
0
 public PasswordStoreController(IGetAllPasswordStoresQuery getAllPasswordStoresQuery,
                                IGetPasswordStoreByIdQuery getPasswordStoreByIdQuery,
                                ICreatePasswordStoreCommand createPasswordStoreCommand,
                                IDeletePasswordStoreCommand deletePasswordStoreCommand,
                                IUrlHelper urlHelper, IEncryptDecryptService encryptDecryptService)
 {
     _getAllPasswordStoresQuery  = getAllPasswordStoresQuery;
     _getPasswordStoreByIdQuery  = getPasswordStoreByIdQuery;
     _createPasswordStoreCommand = createPasswordStoreCommand;
     _deletePasswordStoreCommand = deletePasswordStoreCommand;
     _urlHelper             = urlHelper;
     _encryptDecryptService = encryptDecryptService;
 }
 public CreatePasswordStoreCommand(IRepository <Domain.PasswordStore> passwordStoreRepository,
                                   IEncryptDecryptService encryptDecryptService)
 {
     _passwordStoreRepository = passwordStoreRepository;
     _encryptDecryptService   = encryptDecryptService;
 }