Example #1
0
 public async Task <bool> SaveTicket()
 {
     return(await _iRespository.Commit());
 }
Example #2
0
 public IActionResult Create(Ticket ticket)
 {
     _ticket.Add(ticket);
     _ticket.Commit();
     return(RedirectToAction("Index"));
 }