public static ClientGroupMasterEntity[] EditData(int id) { var details = new List <ClientGroupMasterEntity>(); try { details = new ClientGroupMasterDAO().EditClientGroup(id); } catch (Exception ex) { //details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }
public static ClientGroupMasterEntity[] GetData() //Show the details of the data after insert in HTML Table { var details = new List <ClientGroupMasterEntity>(); try { details = new ClientGroupMasterDAO().GetClientGroupList(); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }