Пример #1
0
 public BookingService(IProductInShopService productInShopService, IUnitOfWork unitOfWork, IMapper <Booking, BookingEntity> bookingMapper)
 {
     this.productInShopService = productInShopService;
     this.unitOfWork           = unitOfWork;
     this.bookingMapper        = bookingMapper;
 }
 public BookingSiteController(IUserService <User> userService, IProductInShopService <ProductInShop> productInShopService, IBookingService <Booking> bookingService)
 {
     this.userService          = userService;
     this.productInShopService = productInShopService;
     this.bookingService       = bookingService;
 }