Making all of the view models not inherit from BaseViewModel

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-09-01 15:33:31 -07:00
parent b85a6ed122
commit 026764544a
26 changed files with 40 additions and 65 deletions

View File

@@ -1,10 +1,9 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Orchard.Mvc.ViewModels;
using Orchard.Security.Permissions;
namespace Orchard.Roles.ViewModels {
public class RoleCreateViewModel : BaseViewModel {
public class RoleCreateViewModel {
[Required]
public string Name { get; set; }
public IDictionary<string, IEnumerable<Permission>> FeaturePermissions { get; set; }