public new static EmployeeWraperFull GetSample() { return(new EmployeeWraperFull { Avatar = "url to big avatar", AvatarSmall = "url to small avatar", Contacts = new List <Contact> { new Contact("GTalk", "*****@*****.**") }, Email = "*****@*****.**", FirstName = "Mike", Id = Guid.NewGuid(), IsAdmin = false, ListAdminModules = new List <string> { "projects", "crm" }, UserName = "******", LastName = "Zanyatski", Title = "Manager", Groups = new List <GroupWrapperSummary> { GroupWrapperSummary.GetSample() }, AvatarMedium = "url to medium avatar", Birthday = new ApiDateTime(new DateTime(1917, 11, 7)), Department = "Marketing", Location = "Palo Alto", Notes = "Notes to worker", Sex = "male", Status = EmployeeStatus.Active, WorkFrom = new ApiDateTime(new DateTime(1945, 5, 9)), Terminated = new ApiDateTime(new DateTime(2029, 12, 12)), CultureName = "en-EN" }); }
public new static EmployeeWraperFull GetSample() { return(new EmployeeWraperFull { Avatar = "url to big avatar", AvatarSmall = "url to small avatar", Contacts = new List <Contact> { Contact.GetSample() }, Email = "*****@*****.**", FirstName = "Mike", Id = Guid.Empty, IsAdmin = false, ListAdminModules = new List <string> { "projects", "crm" }, UserName = "******", LastName = "Zanyatski", Title = "Manager", Groups = new List <GroupWrapperSummary> { GroupWrapperSummary.GetSample() }, AvatarMedium = "url to medium avatar", Birthday = ApiDateTime.GetSample(), Department = "Marketing", Location = "Palo Alto", Notes = "Notes to worker", Sex = "male", Status = EmployeeStatus.Active, WorkFrom = ApiDateTime.GetSample(), //Terminated = ApiDateTime.GetSample(), CultureName = "en-EN", IsLDAP = false, IsSSO = false }); }