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