* CalendarController.cs:

* Web.csproj:
* Global.asax.cs:
* instdb.sql:
* TemplateException.cs:
* ValidateAjaxAttribute.cs:
* TemplateException.cs:
* WorkFlowController.cs:
* NFCircle.cs:
* Circle.cs:
* NFEventPub.cs:
* Period.cs:
* OpenDay.cs:
* NFUserPrefs.cs:
* YaEvent.cs:
* WeekDay.cs:
* Position.cs:
* EventPub.cs:
* Resources.Designer.cs:
* Schedule.cs:
* Period.cs:
* NFEvent.cs:
* EventType.cs:
* WeekDay.cs:
* OpenDay.cs:
* FrontOfficeApiController.cs:
* UserPrefs.cs:
* Position.cs:
* Schedule.cs:
* Publishing.cs:
* EventType.cs:
* Periodicity.cs:
* Publishing.cs:
* Periodicity.cs:
* ProvidedEvent.cs:
* ProvidedEvent.cs:
* NightFlashController.cs:
* EstablishmentType.cs:
* ProviderPublicInfo.cs:
* EstablishmentType.cs:
* PositionAndKeyphrase.cs:
* ProviderPublicInfo.cs:
* PositionAndKeyphrase.cs: refactoring
This commit is contained in:
Paul Schneider 2015-05-16 00:50:11 +02:00
commit 04304ac0c3
25 changed files with 387 additions and 149 deletions

View file

@ -53,11 +53,12 @@ namespace Yavsc.ApiControllers
Membership.GetUser().UserName,client,title,description);
}
/// <summary>
/// Register the specified model and isapprouved.
/// Register the specified userModel.
/// </summary>
/// <param name="model">Model.</param>
/// <param name="isapprouved">If set to <c>true</c> isapprouved.</param>
/// <param name="userModel">User model.</param>
[HttpGet]
[ValidateAjax]
[Authorize(Roles="Admin,FrontOffice")]