public ActionResult Edit(Guid id)
        {
            SubCategory        secilenKat = altKategoriRepo.Find(id);
            CategoryRepository katRepo    = new CategoryRepository();

            ViewBag.Kategoriler = katRepo.GetActive();

            return(View(secilenKat));
        }
Exemplo n.º 2
0
 public SubCategory Find(long?id)
 {
     return(_subcategoryRepository.Find(id));
 }