public FilesService(IDeletableEntityRepository <ApplicationUser> userRepository, IDeletableEntityRepository <File> fileRepository, Cloudinary cloudinaryUtility, IDeletableEntityRepository <Album> albumRepository)
        {
            this.userRepository = userRepository;
            this.fileRepository = fileRepository;

            this.cloudinaryUtility = cloudinaryUtility;
            this.albumRepository   = albumRepository;

            this.cloudinaryService = new CloudinaryService(cloudinaryUtility);
        }
 public AssignmentsService(IDeletableEntityRepository <Assignment> assignmentRepository, IDeletableEntityRepository <UserAssignment> userAssignmentRepository, Cloudinary cloudinaryUtility)
 {
     this.assignmentRepository     = assignmentRepository;
     this.userAssignmentRepository = userAssignmentRepository;
     this.cloudinaryService        = new CloudinaryService(cloudinaryUtility);
 }
예제 #3
0
 public EventsService(IDeletableEntityRepository <Event> eventRepository, Cloudinary cloudinaryUtility)
 {
     this.eventsRepository  = eventRepository;
     this.cloudinaryService = new CloudinaryService(cloudinaryUtility);
 }