public TipProjectOperationController(ITipRepository tipRepository, IProjectRepository projectRepository, IFileRepositoryExtender fileRepository, ITripsUserRepository userRepository) { TipRepository = tipRepository; ProjectRepository = projectRepository; FileRepository = fileRepository; Config = DRCOGConfig.GetConfig(); ImageService = new ImageService(fileRepository); }
public ProjectController(ITipRepository tipRepository, IProjectRepository projectRepository, IFileRepositoryExtender fileRepository, ITripsUserRepository userRepository) : base("ProjectController", userRepository) { _tipRepository = tipRepository; _projectRepository = projectRepository; _fileRepository = fileRepository; _config = DRCOGConfig.GetConfig(); ImageService = new ImageService(fileRepository); }
public TipRepository(IFileRepositoryExtender fileRepository) { _appState = Enums.ApplicationState.TIP; FileRepository = fileRepository; //_fakeTipRepo = new Fakes.FakeTipRepository(); }
public ProjectRepository(IFileRepositoryExtender fileRepository) : base(fileRepository) { _appState = Enums.ApplicationState.TIP; FileRepository = fileRepository; }