Esempio n. 1
0
 public CustomersController(
     ArtaplanContext context,
     IMapper mapper,
     ICustomerService customerService
     )
 {
     _mapper          = mapper;
     _context         = context;
     _customerService = customerService;
 }
Esempio n. 2
0
 public StagesController(
     ArtaplanContext context,
     IMapper mapper,
     IStageService stageService
     )
 {
     _mapper       = mapper;
     _context      = context;
     _stageService = stageService;
 }
Esempio n. 3
0
 public JobStagesController(
     ArtaplanContext context,
     IMapper mapper,
     IJobStageService jobStageService
     )
 {
     _mapper          = mapper;
     _context         = context;
     _jobStageService = jobStageService;
 }
 public ScheduleEntriesController(
     ArtaplanContext context,
     IMapper mapper,
     IScheduleEntryService scheduleEntryService,
     IJobStageService jobStageService
     )
 {
     _mapper  = mapper;
     _context = context;
     _scheduleEntryService = scheduleEntryService;
     _jobStageService      = jobStageService;
 }
Esempio n. 5
0
 public UsersController(
     ArtaplanContext context,
     IUserService userService,
     IMapper mapper,
     IOptions <AppSettings> appSettings,
     IUserProvider userProvider
     )
 {
     _appSettings  = appSettings.Value;
     _context      = context;
     _userService  = userService;
     _userProvider = userProvider;
     _mapper       = mapper;
 }
Esempio n. 6
0
 public UserService(ArtaplanContext context, IUserProvider userProvider)
 {
     _context      = context;
     _userProvider = userProvider;
 }
Esempio n. 7
0
 public JobStageService(ArtaplanContext context, IUserProvider userProvider, IScheduleEntryService scheduleEntryService)
 {
     _context = context;
     userId   = userProvider.GetUserId();
     _scheduleEntryService = scheduleEntryService;
 }
 public StageService(ArtaplanContext context, IUserProvider userProvider)
 {
     _context = context;
     userId   = userProvider.GetUserId();
 }
Esempio n. 9
0
 public ScheduleEntryService(ArtaplanContext context, IUserProvider userProvider)
 {
     _context = context;
     userId   = userProvider.GetUserId();
 }