示例#1
0
 public LiftCardsController(ILiftCardService liftCardService, UserManager <User> userManager, IResortService resortService)
 {
     this.liftCardService = liftCardService;
     this.userManager     = userManager;
     this.resortService   = resortService;
 }
 public EventsController(IResortService resortService, IEventService eventService, UserManager <User> userManager)
 {
     this.resortService = resortService;
     this.userManager   = userManager;
     this.eventService  = eventService;
 }
示例#3
0
 public SlopeService(SkiResortsDbContext db, IResortService resortService)
 {
     this.db            = db;
     this.resortService = resortService;
 }
 public ResortsController(IResortService resortService, IToursService toursService)
 {
     this.resortService = resortService;
     this.toursService  = toursService;
 }
 public ResortsController(UserManager <User> userManager, IResortService resortService, IUserService userService)
 {
     this.userManager   = userManager;
     this.resortService = resortService;
     this.userService   = userService;
 }
示例#6
0
 public ResortServiceTest(ResortFixture fixture)
 {
     this.fixture = fixture;
     service      = new ResortService(mockMapper.Object, mockUnit.Object);
 }
示例#7
0
 public HomeController(IResortService resortService, UserManager <User> userManager, IMemoryCache cache)
 {
     this.resortService = resortService;
     this.userManager   = userManager;
     this.cache         = cache;
 }