Пример #1
0
 public StudentRecordService(IUnitOfWork unitOfWork, IStudentRecordRepository studentRecordRepository, IMapper mapper,
                             IErrorService errorService, IConfiguration configuration)
 {
     _unitOfWork = unitOfWork;
     _mapper     = mapper;
     _studentRecordRepository = studentRecordRepository;
     _errorService            = errorService;
 }
 public StudentRecordsController(
     PacBillContext context,
     IStudentRecordRepository records,
     IAuditRepository audits,
     ILogger <StudentRecordsController> logger)
 {
     _context = context;
     _records = records;
     _audits  = audits;
     _logger  = logger;
 }