public RecipeCreateSelectViewModel GetAll() { var ingRepo = new IngredientRepo(); var othRepo = new OthersRepo(); return(new RecipeCreateSelectViewModel(ingRepo.GetAll(), othRepo.GetAllMeasurements(), othRepo.GetAllBeerTypes())); }
public List <BeerType> GetBeerTypes() { var othRep = new OthersRepo(); return(othRep.GetAllBeerTypes()); }