public override Customer Map(CustomerDTO source) { Customer newentity = _factory.Construct(); CopyTo(source, newentity); return(newentity); }
public override Customer Map(CustomerCreateSRO source) { var newentity = _factory.Construct(); newentity.FirstName = source.FirstName; newentity.Initials = source.Initials; newentity.LastName = source.LastName; return(newentity); }