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()); }
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()); }
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()); }
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()); }