Beispiel #1
0
 public async Task <ActionResult> Index()
 {
     return(View(new CookBookHandler()
                 .RemoveCookBookFromList(
                     await repository
                     .GetUserCookBooksWithEagerLoadedObjectsAsync(
                         User.Identity as ClaimsIdentity),
                     "MealPlan")));
 }