public async Task <ICollection <Ingredient> > GetIngredientsCreatedByUser(ApplicationUser User) { var model = await _ingredientsRepository.FindAllAsync(x => x.CreatedById == User.Id); return(model); }