Beispiel #1
0
 public CommonDataService(IOfficerRepository officerRepository, IMemberTypeRepository memberTypeRepository, IBusRepository busRepository, ICategoryRepository categoryRepository, IMeritRepository meritRepository, IDashBoardEntityRepository dashBoardEntityRepository, IMemberRepository memberRepository)
 {
     _memberTypeRepository      = memberTypeRepository;
     _busRepository             = busRepository;
     _categoryRepository        = categoryRepository;
     _meritRepository           = meritRepository;
     _dashBoardEntityRepository = dashBoardEntityRepository;
     _memberRepository          = memberRepository;
     _officerRepository         = officerRepository;
 }
Beispiel #2
0
        public OfficerService(
            ILogger <IOfficerService> logger,
            MediatR.IMediator mediator,
            IOfficerRepository officerRepository,
            IApiOfficerServerRequestModelValidator officerModelValidator,
            IDALOfficerMapper dalOfficerMapper,
            IDALNoteMapper dalNoteMapper,
            IDALOfficerCapabilitiesMapper dalOfficerCapabilitiesMapper,
            IDALUnitOfficerMapper dalUnitOfficerMapper,
            IDALVehicleOfficerMapper dalVehicleOfficerMapper)
            : base()
        {
            this.OfficerRepository            = officerRepository;
            this.OfficerModelValidator        = officerModelValidator;
            this.DalOfficerMapper             = dalOfficerMapper;
            this.DalNoteMapper                = dalNoteMapper;
            this.DalOfficerCapabilitiesMapper = dalOfficerCapabilitiesMapper;
            this.DalUnitOfficerMapper         = dalUnitOfficerMapper;
            this.DalVehicleOfficerMapper      = dalVehicleOfficerMapper;
            this.logger = logger;

            this.mediator = mediator;
        }
 public ApiOfficerServerRequestModelValidator(IOfficerRepository officerRepository)
 {
     this.OfficerRepository = officerRepository;
 }