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