Exemple #1
0
        public ShoppingBasketService(IShoppingBasketDto shoppingBasketDto, IMapperService mapperService, IEfDbSetWrapper <ShoppingBasket> efDbSetWrapper, IEfDbContextSaveChanges efDbContextSaveChanges)
        {
            Guard.WhenArgument(shoppingBasketDto, "shoppingBasket").IsNull().Throw();

            this.shoppingBasketDto      = shoppingBasketDto;
            this.mapperService          = mapperService;
            this.efDbSetWrapper         = efDbSetWrapper;
            this.efDbContextSaveChanges = efDbContextSaveChanges;
        }
Exemple #2
0
 public HomeController(IShoppingBasketService shoppingBasketService, IShoppingBasketDto shoppingBasketDto)
 {
     this.shoppingBasketService = shoppingBasketService;
     this.shoppingBasketDto     = shoppingBasketDto;
 }
 public MyPurchasesController(IShoppingBasketService shoppingBasketService, IShoppingBasketDto shoppingBasketDto)
 {
     this.shoppingBasketService = shoppingBasketService;
     this.shoppingBasketDto     = shoppingBasketDto;
 }