Esempio n. 1
0
        public ActionResult CreateNewDiet()
        {
            var id = _dietService.AddDiet(DateTime.Now);

            return(RedirectToAction("Create", new { dietId = id }));
        }