コード例 #1
0
 public UserScheduleApiController(
     IAdvancedRepository <User, IList <Event> > userRepository,
     ICurrentUser currentUser)
 {
     _userRepository = userRepository;
     _currentUser    = currentUser;
 }
コード例 #2
0
 public CompaniesController(ICompanyRepository compRepo, IAdvancedRepository adRepo)
 {
     _compRepo = compRepo;
     _adRepo   = adRepo;
 }
コード例 #3
0
 public HomeController(ILogger <HomeController> logger, IAdvancedRepository adRepo)
 {
     _logger = logger;
     _adRepo = adRepo;
 }
コード例 #4
0
 public EmployeeController(IEmployeeRepository repository, ICompanyRepository companyRepo, IAdvancedRepository adRepo)
 {
     _repository  = repository;
     _companyRepo = companyRepo;
     _adRepo      = adRepo;
 }