public static BsEntity[] EditData(Int64 id) { var details = new List <BsEntity>(); try { details = new BSDAO().EditBillSettlement(id); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }
public static BSListingEntity[] GetData(string fromdate, string todate) { var details = new List <BSListingEntity>(); try { details = new BSDAO().GetBSList(fromdate, todate); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }
public static Int64[] CheckVoidBSEnrty(Int64 id) { List <Int64> lstvalues = new List <Int64>(); try { lstvalues = new BSDAO().CheckVoidBSEnrty(id); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(lstvalues.ToArray()); }