public ActionResult Details(int?id)
        {
            if (id == null)
            {
                return(HttpNotFound());
            }
            Ingrediente ingrdnt = ingredienteService.FindById(id);

            return(View(ingrdnt));
        }
示例#2
0
 public new Ingrediente FindById(int Id)
 {
     return(_ingredienteService.FindById(Id));
 }