public List <Kategori> GetKategories() { var kategoriler = _kategoriRepository.GetAllKategori(); return(kategoriler); }