Exemplo n.º 1
0
    // To pass 'Group Role' data in GroupRoleDAL Data Access Layer to show selected GroupID and RoleID records
    public DataTable SelectGroupIDRoleID(int GroupId, int RoleId, int LoggedInUser, string Ret)
    {
        GroupRoleDAL GroupRoleDAL = new GroupRoleDAL();

        try
        {
            return(GroupRoleDAL.SelectGroupIDRoleID(GroupId, RoleId, LoggedInUser, Ret));
        }
        catch
        {
            throw;
        }
        finally
        {
            GroupRoleDAL = null;
        }
    }
 // To pass 'Group Role' data in GroupRoleDAL Data Access Layer to show selected GroupID and RoleID records
 public DataTable SelectGroupIDRoleID(int GroupId, int RoleId, int LoggedInUser, string Ret)
 {
     GroupRoleDAL GroupRoleDAL = new GroupRoleDAL();
     try
     {
         return GroupRoleDAL.SelectGroupIDRoleID(GroupId, RoleId, LoggedInUser, Ret);
     }
     catch
     {
         throw;
     }
     finally
     {
         GroupRoleDAL = null;
     }
 }