Exemplo n.º 1
0
 public LectureServiceAsync(IStudentGroupServiceAsync studentGroupService,
                            IEmployeeServiceAsync employeeService,
                            IRoomServiceAsync roomService,
                            IAuditManager auditManager)
     : base(auditManager)
 {
     this.studentGroupService = studentGroupService;
     this.employeeService     = employeeService;
     this.roomService         = roomService;
 }
Exemplo n.º 2
0
        public StudentGroupServiceAsyncTests()
        {
            this.service = new StudentGroupServiceAsync(new AuditManager());

            service.AddAsync(new StudentGroup
            {
                Name = "First group"
            }).Wait();

            service.AddAsync(new StudentGroup
            {
                Name = "Second group"
            }).Wait();
        }
Exemplo n.º 3
0
 public StudentServiceAsync(IStudentGroupServiceAsync studentGroupService, IAuditManager auditManager) : base(auditManager)
 {
     this.studentGroupService = studentGroupService;
 }
Exemplo n.º 4
0
 public StudentsController(IStudentServiceAsync studentService, IStudentGroupServiceAsync studentGroupService, IMapper mapper)
     : base(studentService, mapper)
 {
     this.studentGroupService = studentGroupService;
 }