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