public EventController(IEventRepository eventRepository, ILocation locationRepository, IHostingEnvironment hostingEnvironment, IProcessFileUpload fileUpload) { this.hostingEnvironment = hostingEnvironment; this.fileUpload = fileUpload; this.eventRepository = eventRepository; this.locationRepository = locationRepository; }
public AdminController(IEntityRepository <Admin> entityRepository, UserManager <IdentityUser> userManager, RoleManager <IdentityRole> roleManager, IHostingEnvironment hostingEnvironment, IPasswordGenerator passwordGenerator, IProcessFileUpload processFileUpload) { this.processFileUpload = processFileUpload; this.hostingEnvironment = hostingEnvironment; this.roleManager = roleManager; this.userManager = userManager; this.passwordGenerator = passwordGenerator; _entityRepository = entityRepository; }
public TeacherController(ITeacherRepository teacherRepository, ICountryRepository countryRepository, UserManager <IdentityUser> userManager, IPasswordGenerator passwordGenerator, IProcessFileUpload processFileUpload, IStateRepository stateRepository, IHostingEnvironment hostingEnvironment, IEntityRepository <Department> entityRepository) { this.hostingEnvironment = hostingEnvironment; this.processFileUpload = processFileUpload; this.passwordGenerator = passwordGenerator; this.countryRepository = countryRepository; this.userManager = userManager; this.stateRepository = stateRepository; this.entityRepository = entityRepository; _teacherRepository = teacherRepository; }
public StudentController(IStudentRepository studentRepository, IEntityRepository <CourseYear> courseYearRepo, IEntityRepository <Faculty> facultyRepository, IEntityRepository <Department> departmentRepository, IHostingEnvironment hostingEnvironment, IPasswordGenerator passwordGenerator, IProcessFileUpload processFileUpload, UserManager <IdentityUser> userManager) { this.hostingEnvironment = hostingEnvironment; this.passwordGenerator = passwordGenerator; this.userManager = userManager; this.processFileUpload = processFileUpload; this.studentRepository = studentRepository; this.facultyRepository = facultyRepository; this.departmentRepository = departmentRepository; this.courseYearRepo = courseYearRepo; }
public AuthorsController(BookShelphDbContext context, IMapper mapper, IProcessFileUpload fileUpload) { _context = context; _mapper = mapper; _fileUpload = fileUpload; }