public static ShippingAgent ToEntity(this ShippingAgentModel model, ShippingAgent destination) { return(AutoMapperConfiguration.Mapper.Map(model, destination)); }
public static ShippingAgent ToEntity(this ShippingAgentModel model) { return(AutoMapperConfiguration.Mapper.Map <ShippingAgentModel, ShippingAgent>(model)); }