C# Класс LunchVote.Filters.DayCreatedFilterAttribute

Наследование: System.Web.Mvc.ActionFilterAttribute
Показать файл Открыть проект

Открытые методы

Метод Описание
OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void

Called by the ASP.NET MVC framework before the action method executes. Used to ensure that there is a record created in the database for the current day. If there isn't a new day is created.

Описание методов

OnActionExecuting() публичный Метод

Called by the ASP.NET MVC framework before the action method executes. Used to ensure that there is a record created in the database for the current day. If there isn't a new day is created.
public OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutingContext The filter context.
Результат void