Exemple #1
0
 public object DeleteCategory(String id)
 {
     return(categoryRep.Delete(id));
 }
Exemple #2
0
 public ActionResult Delete(Guid id)
 {
     result.resultint = cr.Delete(id);
     return(RedirectToAction("List", new { @mesaj = result.resultint.UserMessage }));
 }
Exemple #3
0
 public ActionResult Delete(int id)
 {
     result = cr.Delete(id);
     return(RedirectToAction("List", "Category"));
 }