public List <Entity.Sales.GetQuoteById_Print> GetQuoteByIdPrint(int QuoteId) { List <Entity.Sales.GetQuoteById_Print> Quote = new List <Entity.Sales.GetQuoteById_Print>(); QuoteDataAccess.GetQuoteByIdPrint(QuoteId).CopyListTo(Quote); return(Quote); }
public int SaveQuote(Entity.Sales.Quote Model) { QuoteDbModel DbModel = new QuoteDbModel(); Model.CopyPropertiesTo(DbModel); return(QuoteDataAccess.SaveQuotes(DbModel)); }
public List <Entity.Sales.PaymentTerm> GetPaymentTerm() { List <Entity.Sales.PaymentTerm> PaymentTermsList = new List <Entity.Sales.PaymentTerm>(); QuoteDataAccess.GetPeymentTerm().CopyListTo(PaymentTermsList); return(PaymentTermsList); }
public List <Entity.Sales.QuoteStage> GetQuoteStage() { List <Entity.Sales.QuoteStage> QuoteStageList = new List <Entity.Sales.QuoteStage>(); QuoteDataAccess.GetQuoteStage().CopyListTo(QuoteStageList); return(QuoteStageList); }
public List <Entity.Sales.GetQuote> GetAllQuotes(Entity.Sales.GetQuoteParam Param) { List <Entity.Sales.GetQuote> AllQuoteList = new List <Entity.Sales.GetQuote>(); GetQuoteParamDbModel p = new GetQuoteParamDbModel(); Param.CopyPropertiesTo(p); QuoteDataAccess.GetAllQuotes(p).CopyListTo(AllQuoteList); return(AllQuoteList); }
public QuoteBusinessLogic() { this.CustomerDL = new QuoteDataAccess(); }
public string GetQuoteJsonByStageId(int Id) { return(QuoteDataAccess.GetQuoteByStageId(Id)); }
public Entity.Sales.Quote GetQuoteById(int Id) { Entity.Sales.Quote Quote = new Entity.Sales.Quote(); QuoteDataAccess.GetQuoteById(Id).CopyPropertiesTo(Quote); return(Quote); }