public void Setup() { _mockPhotoRepository = Substitute.For <IPhotoRepository>(); _mockAlbumRepository = Substitute.For <IAlbumRepository>(); _expressionFactory = Substitute.For <IPhotoAlbumExpressionFactory>(); _service = new PhotoAlbumService(_mockPhotoRepository, _mockAlbumRepository, _expressionFactory); }
public PhotoAlbumController( IPhotoService photoService, IPhotoAlbumService photoAlbumService, UserManager <User> userManager) { this.photoService = photoService; this.photoAlbumService = photoAlbumService; this.userManager = userManager; }
public PhotoController( IWebHostEnvironment hostingEnvironment, UserManager <User> userManager, ILicenseService licenseService, IPhotoService photoService, IPhotoAlbumService photoAlbumService, IFavoritesService favoritesService) { this.hostingEnvironment = hostingEnvironment; this.userManager = userManager; this.licenseService = licenseService; this.photoService = photoService; this.photoAlbumService = photoAlbumService; this.favoritesService = favoritesService; }
public HAVProfileService(IValidationDictionary aValidationDictionary, IUserRetrievalService<User> aUserRetrievalService, IFriendService<User, Friend> aFriendService, IPhotoAlbumService<User, PhotoAlbum, Photo, Friend> aPhotoAlbumService, IHAVProfileRepository aRepository, IBoardRepository<User, Board, BoardReply> aBoardRepository, IProfileQuestionService aProfileQuestionService) { theValidationDictionary = aValidationDictionary; theUserRetrievalService = aUserRetrievalService; theFriendService = aFriendService; theRepository = aRepository; theBoardRepository = aBoardRepository; thePhotoAlbumService = aPhotoAlbumService; theProfileQuestionService = aProfileQuestionService; }
public CourseController( IDateTimeRepository datetimeRepository, IRepository2 <Course> courseRepository, IRepository2 <PhotoAlbum> photoAlbumRepository, IRepository <CourseCategory> courseCategoryRepository, ICourseService courseService, ICurriculumRepository curriculumRepository, IStudentCourseRepository studentCourseRepository, IRepository <StudentScore> studentScoreRepository, IConfigurationRepository configurationRepository, IPhotoAlbumService photoAlbumService, IRepository <Photo> photoRepository, ICurriculumService curriculumService, IStudentCourseService studentCourseService, IStudentScoreService studentScoreService, IBannerService bannerService, IRepository <Banner> bannerRepository, IRepository <Handout> handoutRepository, IHandoutService handoutService) { this._datetimeRepository = datetimeRepository; this._courseRepository = courseRepository; this._photoAlbumRepository = photoAlbumRepository; this._courseCategoryRepository = courseCategoryRepository; this._courseService = courseService; this._curriculumRepository = curriculumRepository; this._studentCourseRepository = studentCourseRepository; this._studentScoreRepository = studentScoreRepository; this._configurationRepository = configurationRepository; this._photoAlbumService = photoAlbumService; this._photoRepository = photoRepository; this._curriculumService = curriculumService; this._studentCourseService = studentCourseService; this._studentScoreService = studentScoreService; this._bannerService = bannerService; this._bannerRepository = bannerRepository; this._handoutRepository = handoutRepository; this._handoutService = handoutService; }
public SharedController( IEmailSender emailSender, IRepository <Photo> photoRepository, IRepository2 <PhotoAlbum> photoAlbumRepository, IDateTimeRepository datetimeRepository, IConfigurationRepository configRepository, IPhotoAlbumService photoAlbumService, IRepository <Banner> bannerRepository, IBannerService bannerService, IAlumniService alumniService, IRepository <Alumni> alumniRepository) { this._emailSender = emailSender; this._photoRepository = photoRepository; this._photoAlbumRepository = photoAlbumRepository; this._datetimeRepository = datetimeRepository; this._configRepository = configRepository; this._photoAlbumService = photoAlbumService; this._bannerRepository = bannerRepository; this._bannerService = bannerService; this._alumniService = alumniService; this._alumniRepository = alumniRepository; }
public void SetUp() { _photoAlbumRepoMock = new Mock <IPhotoAlbumRepo>(); _service = new PhotoAlbumService(_photoAlbumRepoMock.Object); }
internal PhotoAlbumController(IPhotoAlbumService photoAlbumService) { _photoAlbumService = photoAlbumService; }
public PhotoAlbumsController(IPhotoAlbumService photoAlbumService) => _photoAlbumService = photoAlbumService;
static PhotoManagerService() { instance = new PhotoAlbumService(); }
public PhotoAlbumController(IPhotoAlbumService photoAlbumService) { _photoAlbumService = photoAlbumService ?? new PhotoAlbumService(); }
public PhotoAlbumControllerTests() { _mockPhotoAlbumService = Substitute.For <IPhotoAlbumService>(); _subject = new PhotoAlbumController(_mockPhotoAlbumService); }
public PhotoAppRunner(TextWriter textWriter, IValidationService validationServiceParam, IPhotoAlbumService photoAlbumServiceParam) { output = textWriter; validationService = validationServiceParam; photoAlbumService = photoAlbumServiceParam; }
static PhotoManagerService() { instance = new PhotoAlbumService(); }
public AlbumController(IPhotoAlbumService service, IOptions <ApiConfig> config) { _service = service; _apiConfig = config; }
public PhotoAlbumController(IPhotoAlbumService photoAlbumService) { _photoAlbumService = photoAlbumService; }
public PhotoAlbumController() { _photoAlbumService = new PhotoAlbumService(); }
public AlbumsController(IPhotoAlbumService photoAlbumService) { _photoAlbumService = photoAlbumService ?? throw new ArgumentNullException(nameof(photoAlbumService)); }
public PhotoAlbumController(IPhotoAlbumService PhotoAlbumService) { this.PhotoAlbumService = PhotoAlbumService; }
public PhotoAlbumController(IPhotoAlbumService photoAlbumService, IUserService userService, IImageService imageService) { _photoAlbumService = photoAlbumService; _userService = userService; _imageService = imageService; }
public PhotoController() { postService = new PhotoPostService(); albumService = new PhotoAlbumService(); }
public PhotoAlbumController(IPhotoAlbumService photoAlbumService) { //_photoAlbumService = new PhotoAlbumService(); _photoAlbumService = photoAlbumService; }
public PhotoAlbumController(IPhotoAlbumService photoAlbumService, IUserService userService, IImageService imageService) { _photoAlbumService = photoAlbumService; _userService = userService; _imageService = imageService; }