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

            try
            {
                details = new RolesMasterDAO().EditRoles(id);
            }
            catch (Exception ex)
            {
                //details.Add(new DbStatusEntity(ex.Message));
            }
            return(details.ToArray());
        }
Exemplo n.º 2
0
        public static RoleMasterEntity[] EditData(int id)
        {
            var details = new List <RoleMasterEntity>();

            try
            {
                details = new RolesMasterDAO().EditRoles(id);
            }
            catch (Exception ex)
            {
                Helper.ExceptionHandling(ex, "");
            }
            return(details.ToArray());
        }
Exemplo n.º 3
0
        public static RoleMasterEntity[] GetData() //Show the details of the data after insert in HTML Table
        {
            var details = new List <RoleMasterEntity>();

            try
            {
                details = new RolesMasterDAO().GetRolesList();
            }
            catch (Exception ex)
            {
                // details.Add(new DbStatusEntity(ex.Message));
            }
            return(details.ToArray());
        }
Exemplo n.º 4
0
        public static RoleMasterEntity[] GetData() //Show the details of the data after insert in HTML Table
        {
            var details = new List <RoleMasterEntity>();

            try
            {
                details = new RolesMasterDAO().GetRolesList();
            }
            catch (Exception ex)
            {
                Helper.ExceptionHandling(ex, "");
            }
            return(details.ToArray());
        }