C# Class OrchardHUN.TrainingDemo.Controllers.CacheController

Inheritance: Controller
显示文件 Open project: Lombiq/Orchard-Training-Demo-Module

Public Methods

Method Description
CacheController ( IDateTimeCachingService dateTimeCachingService ) : System
GetDateTime ( string service = "CacheService" ) : System.DateTime
InvalidateDateTime ( ) : System.Web.Mvc.ActionResult

Method Details

CacheController() public method

public CacheController ( IDateTimeCachingService dateTimeCachingService ) : System
dateTimeCachingService IDateTimeCachingService
return System

GetDateTime() public method

public GetDateTime ( string service = "CacheService" ) : System.DateTime
service string
return System.DateTime

InvalidateDateTime() public method

public InvalidateDateTime ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult