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

            ViewBag.Kategoriler = katRepo.GetActive();

            return(View(secilenKat));
        }
예제 #2
0
 public SubCategory Find(long?id)
 {
     return(_subcategoryRepository.Find(id));
 }