Exemple #1
0
 private static object MapJobStatus(JobWithCustomerAndStatusPoco source)
 {
     return(new JobStatusIdNameContract
     {
         Id = source.JobStatusId,
         Name = source.JobStatus
     });
 }
Exemple #2
0
 private static object MapCustomer(JobWithCustomerAndStatusPoco source)
 {
     return(new CustomerIdNameContract
     {
         Id = source.CustomerId,
         FirstName = source.FirstName,
         LastName = source.LastName,
         OtherName = source.OtherName
     });
 }
Exemple #3
0
 public static JobWithCustomerContract Map(JobWithCustomerAndStatusPoco source)
 {
     return(Mapper.Map <JobWithCustomerContract>(source));
 }