private string AddBackOutput(DataTable dt) { BackOutput bill = DataTableToEntites.GetEntity <BackOutput>(dt.Rows[0]); bill.Record = HandleRecords(dt); BackOutputService Service = new BackOutputService(); Service.SaveData(bill); return(bill.BillCode); }
private string AddGiveBill(DataTable dt) { GiveBill bill = DataTableToEntites.GetEntity <GiveBill>(dt.Rows[0]); bill.Record = HandleRecords(dt); GiveBillService Service = new GiveBillService(); Service.SaveData(bill); return(bill.BillCode); }