Exemplo n.º 1
0
 public static RelationshipEventWrapper GetSample()
 {
     return(new RelationshipEventWrapper
     {
         CanEdit = true,
         Category = HistoryCategoryBaseWrapper.GetSample(),
         Entity = EntityWrapper.GetSample(),
         Contact = ContactBaseWrapper.GetSample(),
         Created = (ApiDateTime)DateTime.UtcNow,
         CreateBy = EmployeeWraper.GetSample(),
         Files = new[] { FileWrapper.GetSample() },
         Content = @"Agreed to meet at lunch and discuss the client commercial offer"
     });
 }
 public static RelationshipEventWrapper GetSample()
 {
     return(new RelationshipEventWrapper
     {
         CanEdit = true,
         Category = HistoryCategoryWrapper.GetSample(),
         Entity = EntityWrapper.GetSample(),
         Contact = ContactBaseWrapper.GetSample(),
         Created = (ApiDateTime)DateTime.UtcNow,
         CreateBy = EmployeeWraper.GetSample(),
         Files = new[] { FileWrapper.GetSample() },
         Content = @"Договорились встретиться с клиентом за обедом и обсудить коммерческое предложение
                                "
     });
 }