示例#1
0
 public static RestrictedGroup MapModelToRestrictedGroup(RestrictedGroupConfigurationModel model)
 {
     return(new RestrictedGroup()
     {
         RestrictedGroupId = model.RestrictedGroupId,
         RestrictedGroupName = model.RestrictedGroupName
     });
 }
示例#2
0
 public static RestrictedGroupConfig MapModelToGroupConfiguration(RestrictedGroupConfigurationModel model)
 {
     return(new RestrictedGroupConfig()
     {
         RestrictedGroupId = model.RestrictedGroupId,
         SiteId = model.SiteId
     });
 }