Exemplo n.º 1
0
    // To pass 'Group Role' data in GroupRoleDAL Data Access Layer to show selected GroupRoleID records with status
    public DataTable SelectGroupID(bool IsActive, int GroupId, int LoggedInUser, string Ret)
    {
        GroupRoleDAL GroupRoleDAL = new GroupRoleDAL();

        try
        {
            return(GroupRoleDAL.SelectGroupID(IsActive, GroupId, LoggedInUser, Ret));
        }
        catch
        {
            throw;
        }
        finally
        {
            GroupRoleDAL = null;
        }
    }
 // To pass 'Group Role' data in GroupRoleDAL Data Access Layer to show selected GroupRoleID records with status
 public DataTable SelectGroupID(bool IsActive, int GroupId, int LoggedInUser, string Ret)
 {
     GroupRoleDAL GroupRoleDAL = new GroupRoleDAL();
     try
     {
         return GroupRoleDAL.SelectGroupID(IsActive, GroupId, LoggedInUser, Ret);
     }
     catch
     {
         throw;
     }
     finally
     {
         GroupRoleDAL = null;
     }
 }