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