public DataService(gipDatabaseContext db, IVakService service, ILectorService lectorService, IAdministrationService adminService) { this.adminService = adminService; this.lectorService = lectorService; this.service = service; this.db = db; }
public UserOperations(ISpecialtyService specialtyService, IUserService userService, ILectorService lectorService, IMapper mapper, IFacultyService facultyService, ITeamService teamService) { _specialtyService = specialtyService; _userService = userService; _teamService = teamService; _mapper = mapper; _lectorService = lectorService; _facultyService = facultyService; }
public LectorTest() { var nockMapper = new MapperConfiguration(cfg => { cfg.AddProfile(new AutoMapping()); }); _mapper = nockMapper.CreateMapper(); _facultyService = new Mock <IFacultyRepository>(); _lectorRepository = new Mock <ILectorRepository>(); _ilectorService = new LectorService(_lectorRepository.Object, _facultyService.Object); }
public LectorController(ILectorService service) { this.service = service; }
public LectoresController(ILectorService service) { _service = service; }
public LectorsController(ILectorService lectorService, IMapper mapper) { _lectorService = lectorService; _mapper = mapper; }
public StudentController(IStudentService studentService, ILectorService lectorService) { StudentService = studentService; LectorService = lectorService; }