Пример #1
0
 public ShoppingCartController(
     IReservationService reservationService,
     IMatchSectionService matchSectionService,
     ISeasonService seasonService,
     ISubscriptionService subscriptionService,
     ISectionService sectionSerivce,
     ITeamService teamService,
     IEmailSender emailSender,
     UserManager <IdentityUser> userManager,
     ICustomerService customerService,
     IMapper mapper)
 {
     _reservationService  = reservationService;
     _matchSectionService = matchSectionService;
     _seasonService       = seasonService;
     _subscriptionService = subscriptionService;
     _sectionService      = sectionSerivce;
     _teamService         = teamService;
     _emailSender         = emailSender;
     _userManager         = userManager;
     _customerService     = customerService;
     _mapper = mapper;
 }
 public SectionController(IMapper mapper, IMatchSectionService matchSectionService)
 {
     _mapper = mapper;
     _matchSectionService = matchSectionService;
 }