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