public IActionResult Getall() { var categorie = _CategorieService.GetAll(); System.Diagnostics.Debug.WriteLine(categorie); return(Ok(categorie)); }
// GET: Meuble/Create public ActionResult Create() { ViewBag.CategoryMeubId = new SelectList(serviceCat.GetAll(), "CategoryMeubId", "Name"); return(View()); }
// GET: Categorie public ActionResult ListCategorie() { var l = es.GetAll().ToList <Categorie>(); return(View(l)); }
public IEnumerable <Categorie> GetAllCategories() { var response = _categorieService.GetAll(); return(_context.Categories.ToList()); }