Esempio n. 1
0
 public ConsultantsController(
     ILogger <ConsultantsController> logger,
     IConsultantService consultantService)
 {
     _logger            = logger;
     _consultantService = consultantService;
 }
 public ConsultantController(
     IConsultantService consultantService,
     IBus bus)
 {
     _consultantService = consultantService;
     _bus = bus;
 }
Esempio n. 3
0
 public AccountConsultantsController(IAccountConsultantService accountConsultantService, IConsultantService consultantService, IAccountService accountService, IEmployeeService employeeService)
 {
     this.accountConsultantService = accountConsultantService;
     this.consultantService        = consultantService;
     this.accountService           = accountService;
     this.employeeService          = employeeService;
 }
 public ConsultantController(
     IConsultantService consultantService,
     IBus bus)
 {
     _consultantService = consultantService;
     _bus = bus;
 }
        public RegisterPresenter(IRegisterView view)
        {
            this.view = view;

            inputService = inputService ?? new InputValidationService();
            conService   = conService ?? new ConsultantService();
            passService  = passService ?? new PasswordService();
        }
Esempio n. 6
0
 public ConsultantsController(IConsultantService service,
                              IEmployeeService employeeService,
                              IContractService contractService,
                              IAccountService accountService,
                              ApplicationDBContext entitiesContext)
 {
     this.service         = service;
     this.contractService = contractService;
     this.entitiesContext = entitiesContext;
     this.employeeService = employeeService;
     this.accountService  = accountService;
 }
Esempio n. 7
0
 public ClientMyConsultantPresenter(IClientMyConsultantHeadView view)
 {
     this.view  = view;
     conService = conService ?? new ConsultantService();
 }
 public ConsultantSessionLoader(IConsultantService conService = null)
 {
     this.conService = conService ?? new ConsultantService();
 }
 public ConsultantController(IConsultantService consultantService, UserManager <AppUser> userManager)
 {
     this.consultantService = consultantService;
     this.userManager       = userManager;
 }
Esempio n. 10
0
 public ConsultantController(IConsultantService consultantService, IMemCache cache, ILog <ConsultantController> logger, IMapper mapper) : base(logger)
 {
     _consultantService = consultantService;
     _mapper            = mapper;
 }
 public AdminPendingPresenter(IAdminPendingView view)
 {
     this.view         = view;
     accountDataSet    = null;
     consultantService = consultantService ?? new ConsultantService();
 }
Esempio n. 12
0
 public AdminConsultantProfileAboutPresenter(IAdminConsultantProfileAboutView view)
 {
     this.view         = view;
     consultantService = consultantService ?? new ConsultantService();
 }
Esempio n. 13
0
 public AdminConsultantProfileClientsPresenter(IAdminConsultantProfileClientsView view)
 {
     this.view         = view;
     clientService     = clientService ?? new ClientService();
     consultantService = consultantService ?? new ConsultantService();
 }
Esempio n. 14
0
 public ConsultantHub(IConsultantService cs) => consultantService = cs;
 public ConsultantHomeHeadPresenter(IConsultantHomeHeadView view)
 {
     this.view  = view;
     conService = conService ?? new ConsultantService();
 }
Esempio n. 16
0
 public ConsultantsController(IConsultantService consultantService)
 {
     ConsultantService = consultantService;
 }
Esempio n. 17
0
 public ConsultantsController(IConsultantService consultantService, IMapper mapper)
 {
     _consultantService = consultantService;
     _mapper            = mapper;
 }
Esempio n. 18
0
 public ConsultantsController(IConsultantService consultantService, IContractService contractService)
 {
     this.consultantService = consultantService;
     this.contractService   = contractService;
 }
 public EmployeesController(IEmployeeService service, IConsultantService consultantService, ApplicationDBContext entitiesContext)
 {
     this.service           = service;
     this.consultantService = consultantService;
     this.entitiesContext   = entitiesContext;
 }
Esempio n. 20
0
 public void InitServices()
 {
     conService  = new ConsultantService();
     cliService  = new ClientService();
     passService = new PasswordService();
 }
 public ConsultantMainPresenter(IConsultantMainActivity activity)
 {
     this.activity = activity;
     conService    = conService ?? new ConsultantService();
 }