public static ProductCarCate ToEntity(this ProductCarCateDTO dto, ProductCarCate entity) { return(Mapper.Map(dto, entity)); }
public static ProductCarCate ToEntity(this ProductCarCateDTO dto) { return(Mapper.Map <ProductCarCateDTO, ProductCarCate>(dto)); }