public JsonResult Delete(int id) { _ticketTypeRepository.Delete(id); return(Json("0")); }
public void DeleteTicketType(Expression <Func <TicketType, bool> > where) { _iRespository.Delete(where); }
public IActionResult Delete(int Id) { _repo.Delete(Id); return(RedirectToAction("List")); }