Esempio n. 1
0
        public static TaskStageMasterEntity[] EditData(int id)
        {
            var details = new List <TaskStageMasterEntity>();

            try
            {
                details = new TaskStageMasterDAO().EditTaskStageMaster(id);
            }
            catch (Exception ex)
            {
                //details.Add(new DbStatusEntity(ex.Message));
            }
            return(details.ToArray());
        }
Esempio n. 2
0
        public static TaskStageMasterEntity[] GetData() //Show the details of the data after insert in HTML Table
        {
            var details = new List <TaskStageMasterEntity>();

            try
            {
                details = new TaskStageMasterDAO().GetTaskStageMasterList();
            }
            catch (Exception ex)
            {
                // details.Add(new DbStatusEntity(ex.Message));
            }
            return(details.ToArray());
        }