Exemplo n.º 1
0
 public InMemoryTicketData(IChangeLoggerData changeLoggerData)
 {
     _changeLoggerData = changeLoggerData;
     _tickets          = new List <Ticket>
     {
         new Ticket {
             Id = 1, Application = ApplicationsEnum.TheGrid, TicketType = TicketTypesEnum.Bug, Urgency = UrgenciesEnum.Regular, Status = StatusesEnum.Defined, Description = "typo"
         },
         new Ticket {
             Id = 2, Application = ApplicationsEnum.Approval, TicketType = TicketTypesEnum.Enhencement, Urgency = UrgenciesEnum.Critital, Status = StatusesEnum.Defined, Description = "save is not working"
         }
     };
 }
Exemplo n.º 2
0
 public HomeController(IChangeLoggerData changeLoggerData, ITicketData ticketData, IGreeter greeter)
 {
     _changeLoggerData = changeLoggerData;
     _ticketData       = ticketData;
     _greeter          = greeter;
 }