public static RestrictedGroup MapModelToRestrictedGroup(RestrictedGroupConfigurationModel model) { return(new RestrictedGroup() { RestrictedGroupId = model.RestrictedGroupId, RestrictedGroupName = model.RestrictedGroupName }); }
public static RestrictedGroupConfig MapModelToGroupConfiguration(RestrictedGroupConfigurationModel model) { return(new RestrictedGroupConfig() { RestrictedGroupId = model.RestrictedGroupId, SiteId = model.SiteId }); }