示例#1
0
 public HomeController(IUsersService userService, IBeerService beerService, IBreweryService breweryService, IStorageService storageService, ICheckinService checkinService, ILoggerService loggerService)
 {
     _userService    = userService;
     _beerService    = beerService;
     _breweryService = breweryService;
     _storageService = storageService;
     _checkinService = checkinService;
     _loggerService  = loggerService;
 }
示例#2
0
        public CheckInViewModel(
            IAuthenticationService authenticationService,
            ICheckinService checkinService)
        {
            _authenticationService = authenticationService;
            _checkinService        = checkinService;

            _index = 0;
        }
 public CheckinApiController(ICheckinService checkinService)
 {
     _checkinService = checkinService;
 }
示例#4
0
 public ProfileController(ICheckinService checkinService, IBeerService beerService)
 {
     _checkinService = checkinService;
     _beerService    = beerService;
 }
示例#5
0
 public CheckinController(ApplicationDbContext dbContext, UserManager <ApplicationUser> userManager, ICheckinService checkinService)
 {
     this.dbContext      = dbContext;
     this.userManager    = userManager;
     this.checkinService = checkinService;
 }
 public CheckinController(ICheckinService checkinService)
 {
     _checkinService = checkinService ?? throw new ArgumentNullException(nameof(checkinService));
 }