Ejemplo n.º 1
0
 public void IssueRegistered(TenantId Tenant, ProductId Product, IssueId Id, string Name, string Description, IssueType Type, IssueAssignerId assigner)
 {
     Issues.Add(new IssueView { Id = Id, Name = Name, Description = Description, Assigner = assigner });
     if (Type == IssueType.Defect)
         Bus.DefectReported(Tenant, Product, Id, Name, Description, assigner);
     else
         Bus.FeatureRequested(Tenant, Product, Id, Name, Description, assigner);
 }
Ejemplo n.º 2
0
 public void IssueRegistered(TenantId Tenant, ProductId Product, IssueId Id, string Name, string Description, IssueType Type, IssueAssignerId assigner)
 {
     Issues.Add(new IssueView {
         Id = Id, Name = Name, Description = Description, Assigner = assigner
     });
     if (Type == IssueType.Defect)
     {
         Bus.DefectReported(Tenant, Product, Id, Name, Description, assigner);
     }
     else
     {
         Bus.FeatureRequested(Tenant, Product, Id, Name, Description, assigner);
     }
 }
Ejemplo n.º 3
0
 public void IssueClosed(TenantId Tenant, ProductId Product, IssueId Id)
 {
     throw new NotImplementedException();
 }
Ejemplo n.º 4
0
 public bool IsActive(TenantId tenant, ProductId product, IssueId issue)
 {
     return(Issues.Any(x => x.Id == issue));
 }
Ejemplo n.º 5
0
 public IssueView GetById(TenantId Tenant, ProductId Product, IssueId TicketId)
 {
     return(Issues.FirstOrDefault(x => x.Id == TicketId));
 }
Ejemplo n.º 6
0
 public void IssueClosed(TenantId Tenant, ProductId Product, IssueId Id)
 {
     throw new NotImplementedException();
 }
Ejemplo n.º 7
0
 public bool IsActive(TenantId tenant, ProductId product, IssueId issue)
 {
     return Issues.Any(x => x.Id == issue);
 }
Ejemplo n.º 8
0
 public IssueView GetById(TenantId Tenant, ProductId Product, IssueId TicketId)
 {
     return Issues.FirstOrDefault(x => x.Id == TicketId);
 }