* 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

@ -0,0 +1,62 @@
//
// WeekDay.cs
//
// Author:
// Paul Schneider <paulschneider@free.fr>
//
// Copyright (c) 2015 Paul Schneider
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
using System;
using System.Web.Http;
using System.ComponentModel.DataAnnotations;
namespace Yavsc.ApiControllers.Calendar.Model
{
/// <summary>
/// Week day.
/// </summary>
public enum WeekDay:int {
/// <summary>
/// The monday (0).
/// </summary>
Monday=0,
/// <summary>
/// The tuesday.
/// </summary>
Tuesday,
/// <summary>
/// The wednesday.
/// </summary>
Wednesday,
/// <summary>
/// The thursday.
/// </summary>
Thursday,
/// <summary>
/// The friday.
/// </summary>
Friday,
/// <summary>
/// The saturday.
/// </summary>
Saturday,
/// <summary>
/// The sunday.
/// </summary>
Sunday
}
}