added mapper
This commit is contained in:
@@ -9,6 +9,7 @@ using PyroFetes.DTO.PurchaseProduct.Response;
|
|||||||
using PyroFetes.DTO.Quotation.Response;
|
using PyroFetes.DTO.Quotation.Response;
|
||||||
using PyroFetes.DTO.QuotationProduct.Response;
|
using PyroFetes.DTO.QuotationProduct.Response;
|
||||||
using PyroFetes.DTO.SettingDTO.Response;
|
using PyroFetes.DTO.SettingDTO.Response;
|
||||||
|
using PyroFetes.DTO.Supplier.Response;
|
||||||
using PyroFetes.DTO.User.Response;
|
using PyroFetes.DTO.User.Response;
|
||||||
using PyroFetes.DTO.WareHouseProduct.Response;
|
using PyroFetes.DTO.WareHouseProduct.Response;
|
||||||
using PyroFetes.Models;
|
using PyroFetes.Models;
|
||||||
@@ -21,6 +22,8 @@ public class EntityToDtoMappings : Profile
|
|||||||
{
|
{
|
||||||
CreateMap<Deliverer, GetDelivererDto>();
|
CreateMap<Deliverer, GetDelivererDto>();
|
||||||
|
|
||||||
|
CreateMap<Supplier, GetSupplierDto>();
|
||||||
|
|
||||||
CreateMap<DeliveryNote, GetDeliveryNoteDto>();
|
CreateMap<DeliveryNote, GetDeliveryNoteDto>();
|
||||||
|
|
||||||
CreateMap<Price, GetPriceDto>();
|
CreateMap<Price, GetPriceDto>();
|
||||||
|
|||||||
Reference in New Issue
Block a user