public ShortenerService(IFolderRepository folders, IFileRepository files, IMapper mapper, IAccessVerifier verifier) { _folders = folders; _files = files; Mapper = mapper; _verifier = verifier; }
public UserHandlerTests() { _userRepository = Substitute.For <IUserRepository>(); _accessVerifier = Substitute.For <IAccessVerifier>(); _userHandler = new UserHandler(_userRepository, _accessVerifier); }
public ProfileService(IHash hash, IFolderRepository folders, IFileRepository fileRepo, IUserRepository users, IMapper mapper, IStorage storage, IAccessVerifier verifier)//, string rootAlias) { _hash = hash; _folders = folders; Mapper = mapper; _storage = storage; _users = users; _files = fileRepo; rootStringName = "root folder"; _verifier = verifier; }
public UserHandler(IUserRepository userRepository, IAccessVerifier accessVerifier) { _userRepository = userRepository; _accessVerifier = accessVerifier; }