public string GetLastSelectionData() { IPaymentFromCustomersListDAL purInvoice = new PaymentFromCustomersListDAL(); var result = purInvoice.GetLastSelectionData(); return(result); }
public string GetDateFormat() { IPaymentFromCustomersListDAL purInvoice = new PaymentFromCustomersListDAL(); var result = purInvoice.GetDateFormat(); return(result); }
public List <PaymentFromCustomersListEntity> GetAllPurInvoiceJson(string jsondata) { IPaymentFromCustomersListDAL purInvoice = new PaymentFromCustomersListDAL(); var Invoicelist = purInvoice.GetAllPurInvoiceJson(jsondata); foreach (var item in Invoicelist) { if (item.InvoiceDateDateTime != null) { item.InvoiceDate = Convert.ToString(item.InvoiceDateDateTime); } if (item.InvoiceAmountValue != null) { item.InvoiceAmount = Convert.ToString(item.InvoiceAmountValue); } if (item.CashChequeAmount != null) { item.CashAmount = Convert.ToString(item.CashChequeAmount); } if (item.CashChequeDateDate != null) { item.CashChequeDate = Convert.ToString(item.CashChequeDateDate); } } return(Invoicelist); }