Пример #1
0
        public RecipeCreateSelectViewModel GetAll()
        {
            var ingRepo = new IngredientRepo();
            var othRepo = new OthersRepo();

            return(new RecipeCreateSelectViewModel(ingRepo.GetAll(), othRepo.GetAllMeasurements(), othRepo.GetAllBeerTypes()));
        }
Пример #2
0
        public List <BeerType> GetBeerTypes()
        {
            var othRep = new OthersRepo();

            return(othRep.GetAllBeerTypes());
        }