public string GetLastSelectionData() { IRefundToCustomersListDAL purInvoice = new RefundToCustomersListDAL(); var result = purInvoice.GetLastSelectionData(); return(result); }
public List <RefundToCustomersListEntity> GetAllPurInvoiceJson(string jsondata) { IRefundToCustomersListDAL purInvoice = new RefundToCustomersListDAL(); 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); }