예제 #1
0
 public AccountController(IAccountAppService accountAppService, IUserAppService userAppService, IEmployeeAppService employeeAppService,
                          IContractAppService contractAppService, ISitePersonnelLookupAppService sitePersonnelLookupAppService)
 {
     _accountAppService             = accountAppService;
     _userAppService                = userAppService;
     _employeeAppService            = employeeAppService;
     _contractAppService            = contractAppService;
     _sitePersonnelLookupAppService = sitePersonnelLookupAppService;
 }
예제 #2
0
        public ContractAppServiceTest()
        {
            MockRepository = new DbMockRepository <InsuranceDb>();

            var provider = DependencyInjectorStub.Get((s, c) =>
            {
                BootStrapper.RegisterServices(s, c);
                s.AddScoped(x => MockRepository.GetContext());
            });

            Service = provider.GetService <IContractAppService>();
        }
예제 #3
0
 public ContractController(ILogger <ContractController> logger, IMapper mapper, IContractAppService contractAppService)
 {
     _contractAppService = contractAppService;
     _logger             = logger;
     _mapper             = mapper;
 }
예제 #4
0
 public ContractController(IServiceProvider services)
 {
     _contractAppService = services.GetRequiredService <IContractAppService>();
 }
예제 #5
0
 public ContractController(IContractAppService contractAppService)
 {
     _contractAppService = contractAppService;
 }
 public ContractController(IContractAppService contractappservice)
 {
     _svcContract = contractappservice;
 }
예제 #7
0
 public ContractController(IContractAppService service)
 {
     _service = service;
 }