Beispiel #1
0
 public static RelationshipEventDto GetSample()
 {
     return(new RelationshipEventDto
     {
         CanEdit = true,
         Category = HistoryCategoryBaseDto.GetSample(),
         Entity = EntityDto.GetSample(),
         Contact = ContactBaseDto.GetSample(),
         Created = ApiDateTime.GetSample(),
         CreateBy = EmployeeWraper.GetSample(),
         Files = new[] { FileWrapper <int> .GetSample() },
         Content = @"Agreed to meet at lunch and discuss the client commercial offer"
     });
 }
Beispiel #2
0
 public static OpportunityDto GetSample()
 {
     return(new OpportunityDto
     {
         CreateBy = EmployeeWraper.GetSample(),
         Created = ApiDateTime.GetSample(),
         Responsible = EmployeeWraper.GetSample(),
         Title = "Hotel catalogue",
         Description = "",
         ExpectedCloseDate = ApiDateTime.GetSample(),
         Contact = ContactBaseDto.GetSample(),
         IsPrivate = false,
         SuccessProbability = 65,
         BidType = BidType.FixedBid,
         Stage = DealMilestoneBaseDto.GetSample()
     });
 }