Esempio n. 1
0
 public IEnumerable <Ticket> GetAll()
 {
     return(repositorio.GetAll());
 }
Esempio n. 2
0
        // GET: Ticket
        public ActionResult Index()
        {
            var list = ticketrepository.GetAll().ToList();

            return(View(list));
        }