Files
UnrealEngineUWP/Engine/Source/Programs/CrashReporter/CrashReportWebSite/ViewModels/UsersViewModel.cs
Ben Marsh 20bf0eb6a1 Updating copyright notices to 2017 (copying from //Tasks/UE4/Dev-Copyright-2017).
#rb none
#lockdown Nick.Penwarden

[CL 3226823 by Ben Marsh in Main branch]
2016-12-08 08:52:44 -05:00

39 lines
1.1 KiB
C#

// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
using System.Collections.Generic;
using System.Web.Mvc;
namespace Tools.CrashReporter.CrashReportWebSite.ViewModels
{
/// <summary>
/// The view model for the user administrative page.
/// </summary>
public class UsersViewModel
{
/// <summary>The currently selected user group.</summary>
public string UserGroup { get; set; }
public PagingInfo PagingInfo { get; set; }
/// <summary>The currently selected user group.</summary>
public string User { get; set; }
/// <summary>The number of users in each group.</summary>
public Dictionary<string, int> GroupCounts { get; set; }
/// <summary>Select list of usergroup Ids</summary>
public List<SelectListItem> GroupSelectList { get; set; }
/// <summary>
/// List of users to display in page
/// </summary>
public List<UserViewModel> Users { get; set; }
}
public class UserViewModel
{
public string Name { get; set; }
public string UserGroup { get; set; }
}
}