private ParcelTypes mapToEntity(ParcelType obj, ParcelTypes entity) { entity.Id = obj.Id; entity.Supported = obj.Supported; entity.Fee = obj.Fee; entity.Type = obj.Type; return(entity); }
private ParcelType mapFromEntity(ParcelTypes entity) { ParcelType obj = new ParcelType(); obj.Id = entity.Id; obj.Supported = entity.Supported; obj.Fee = entity.Fee; obj.Type = entity.Type; return(obj); }