public InterviewController(IInterviewService interviewService, ISalesPersonService salesPersonService, ICompanyService companyService, IInterviewerService interviewerService, IInterviewFairService interviewFairService, IFairService fairService)
 {
     _interviewService     = interviewService;
     _salesPersonService   = salesPersonService;
     _companyService       = companyService;
     _interviewerService   = interviewerService;
     _interviewFairService = interviewFairService;
     _fairService          = fairService;
 }
示例#2
0
        protected virtual IEnumerable <SalesPerson_ReadListOutput> ReadList()
        {
            ISalesPersonService svcSalesPerson = DI.Resolve <ISalesPersonService>();
            IEnumerable <SalesPerson_ReadListOutput> outReadList = svcSalesPerson.ReadList();

            if (svcSalesPerson is IDisposable)
            {
                ((IDisposable)svcSalesPerson).Dispose();
            }
            return(outReadList);
        }
 public AbstractSalesPersonController(
     ApiSettings settings,
     ILogger <AbstractSalesPersonController> logger,
     ITransactionCoordinator transactionCoordinator,
     ISalesPersonService salesPersonService,
     IApiSalesPersonModelMapper salesPersonModelMapper
     )
     : base(settings, logger, transactionCoordinator)
 {
     this.SalesPersonService     = salesPersonService;
     this.SalesPersonModelMapper = salesPersonModelMapper;
 }
示例#4
0
 public SalesPersonController(
     ApiSettings settings,
     ILogger <SalesPersonController> logger,
     ITransactionCoordinator transactionCoordinator,
     ISalesPersonService salesPersonService,
     IApiSalesPersonModelMapper salesPersonModelMapper
     )
     : base(settings,
            logger,
            transactionCoordinator,
            salesPersonService,
            salesPersonModelMapper)
 {
     this.BulkInsertLimit = 250;
     this.MaxLimit        = 1000;
     this.DefaultLimit    = 250;
 }
示例#5
0
 public SalesPersonController(ErrorList errorList, ErrorParser errorParser, ISalesPersonService service)
 {
     currentErrors = errorList;
     errorsParser  = errorParser;
     svc           = service;
 }
示例#6
0
 public SalesPersonController(ISalesPersonService salesPersonServiceService, ISalesPersonRepository salesPersonRepo)
 {
     _salesPersonService = salesPersonServiceService;
     _salesPersonRepo    = salesPersonRepo;
 }
示例#7
0
 public SalePersonController(ISalesPersonService salespersonService, IMapper mapper)
 {
     _salespersonService = salespersonService;
     _mapper             = mapper;
 }
 public SalesPersonSVC(ISalesPersonService serv)
 {
     salesPersonService = serv;
 }
示例#9
0
 public SalesPersonController(ErrorList errorList, ErrorParser errorParser, ISalesPersonService service)
     : base(errorList, errorParser)
 {
     svc = service;
 }