Ejemplo n.º 1
0
        internal List <DiscountType> GetAllowedDiscounts(Guid storeID, Guid sessionUser, MarketDbContext context)
        {
            IStorePolicyManager discountManager = GetAsDiscountManagerAndCheckPermissions(storeID, sessionUser, context);

            return(discountManager.GetAllowedDiscounts(context));
        }