// To pass 'Role' data in RoleDAL Data Access Layer to show Change Status of selected RoleId record public int ChangeRoleStatus(int RoleId, int LoggedInUser, string Ret, bool IsActive) { RoleDAL rDAL = new RoleDAL(); try { return rDAL.ChangeRoleStatus(RoleId, LoggedInUser, Ret, IsActive); } catch { throw; } finally { rDAL = null; } }
// To pass 'Role' data in RoleDAL Data Access Layer to show Change Status of selected RoleId record public int ChangeRoleStatus(int RoleId, int LoggedInUser, string Ret, bool IsActive) { RoleDAL rDAL = new RoleDAL(); try { return(rDAL.ChangeRoleStatus(RoleId, LoggedInUser, Ret, IsActive)); } catch { throw; } finally { rDAL = null; } }