Exemplo n.º 1
0
        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());
        }
Exemplo n.º 2
0
        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());
        }