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