public LectureServiceAsync(IStudentGroupServiceAsync studentGroupService, IEmployeeServiceAsync employeeService, IRoomServiceAsync roomService, IAuditManager auditManager) : base(auditManager) { this.studentGroupService = studentGroupService; this.employeeService = employeeService; this.roomService = roomService; }
public StudentGroupServiceAsyncTests() { this.service = new StudentGroupServiceAsync(new AuditManager()); service.AddAsync(new StudentGroup { Name = "First group" }).Wait(); service.AddAsync(new StudentGroup { Name = "Second group" }).Wait(); }
public StudentServiceAsync(IStudentGroupServiceAsync studentGroupService, IAuditManager auditManager) : base(auditManager) { this.studentGroupService = studentGroupService; }
public StudentsController(IStudentServiceAsync studentService, IStudentGroupServiceAsync studentGroupService, IMapper mapper) : base(studentService, mapper) { this.studentGroupService = studentGroupService; }