Ejemplo n.º 1
0
        public void IssueTicketTest()
        {
            ITicketManager ticketManager = DaoFactory.GetTicketManager();
            Ticket ticket = new Ticket();
            var _user = new User();
            _user.Id = 1;

            ticket.Subject = "test support";
            ticket.Description = "test description";
            ticket.SolvedDate = DateTime.Now;
            ticket.RaisedDate = DateTime.Now;
            ticket.user = _user;
            ticketManager.IssueTicket(ticket);
        }
Ejemplo n.º 2
0
 public bool UpdateSolvedTicket(Ticket entity)
 {
     return tManager.UpdateSolvedTicket(entity);
 }