示例#1
0
        public static FinalProject.Data.Models.Quotation MapGroupLD(Quotation quo)
        {
            FinalProject.Data.Models.Quotation myDataQuo = new FinalProject.Data.Models.Quotation()
            {
                CodProd   = quo.CodProd,
                CodClient = quo.CodClient,
                Stock     = quo.Stock,
                Sale      = quo.Sale,
                Price     = quo.Price
            };

            return(myDataQuo);
        }
示例#2
0
        public static Quotation MapQuotationDL(FinalProject.Data.Models.Quotation quo)
        {
            Quotation myLogicQuo = new Quotation()
            {
                CodProd   = quo.CodProd,
                CodClient = quo.CodClient,
                Stock     = quo.Stock,
                Sale      = quo.Sale,
                Price     = quo.Price
            };

            return(myLogicQuo);
        }
示例#3
0
        public static FinalProject.Data.Models.Quotation MapGroupLD(Quotation quo)
        {
            FinalProject.Data.Models.Quotation myDataQuo = new FinalProject.Data.Models.Quotation()
            {
                Id        = quo.Id,
                CodProd   = quo.CodProd,
                CodClient = quo.CodClient,
                Quantity  = quo.Quantity,
                Sale      = quo.Sale,
                //Price = quo.Price
            };

            return(myDataQuo);
        }
示例#4
0
        public static Quotation MapQuotationDL(FinalProject.Data.Models.Quotation quo)
        {
            Quotation myLogicQuo = new Quotation()
            {
                Id        = quo.Id,
                CodProd   = quo.CodProd,
                CodClient = quo.CodClient,
                Quantity  = quo.Quantity,
                Sale      = quo.Sale,
                // Price = quo.Price
            };

            return(myLogicQuo);
        }