public void Insert(int FK_QuotationID, int Fk_Product, string Cantidad, string RefMan, string Origen, string RefPrice) { var objRepository = new RepositoryRefsellDetail(); EntityRefsellDetail data = new EntityRefsellDetail() { PK_RefsellDetailID = 0, Fk_QuotationID = FK_QuotationID, Fk_ProductID = Fk_Product, Cantidad = Cantidad, RefMan = RefMan, Origen = Origen, CostoRef = RefPrice, Flete = false, CostoFlete = "", OrdenVenta = "", Status = true, CreateDate = DateTime.UtcNow, ModifyDate = DateTime.UtcNow }; data = objRepository.Insert(data); }
public EntityRefsellDetail Update(EntityRefsellDetail data) { return(new RepositoryRefsellDetail().Update(data)); }