Example #1
0
 public new static ContactDto GetSample()
 {
     return(new PersonDto
     {
         IsPrivate = true,
         IsShared = false,
         IsCompany = false,
         FirstName = "Tadjeddine",
         LastName = "Bachir",
         Company = CompanyDto.GetSample(),
         Title = "Programmer",
         About = "",
         Created = ApiDateTime.GetSample(),
         CreateBy = EmployeeWraper.GetSample(),
         CommonData = new List <ContactInfoDto>()
         {
             ContactInfoDto.GetSample()
         },
         CustomFields = new List <CustomFieldBaseDto>()
         {
             CustomFieldBaseDto.GetSample()
         },
         ShareType = ShareType.None,
         CanDelete = true,
         CanEdit = true,
         TaskCount = 0,
         HaveLateTasks = false
     });
 }
Example #2
0
 public static CasesDto GetSample()
 {
     return(new CasesDto
     {
         IsClosed = false,
         Title = "Exhibition organization",
         Created = ApiDateTime.GetSample(),
         CreateBy = EmployeeWraper.GetSample(),
         IsPrivate = false,
         CustomFields = new[] { CustomFieldBaseDto.GetSample() },
         CanEdit = true
     });
 }