C# Class TechDevils.UrlTaskScheduler.TechDevilsTaskScheduler.Controllers.UrlScheduleTaskApiController

Inheritance: Umbraco.Web.Editors.UmbracoAuthorizedJsonController
Mostra file Open project: TechDevils/Url-Task-Scheduler Class Usage Examples

Public Methods

Method Description
DeleteById ( int id ) : int
DisableUrl ( int id ) : bool
EnableUrl ( int id ) : bool
GetAll ( ) : IEnumerable
GetTaskById ( int id ) : ScheduleUrl
PostSave ( ScheduleUrl url ) : ScheduleUrl
RunTaskNow ( int id ) : string

Private Methods

Method Description
GetStatus ( int page = 1, int pageSize = 10 ) : List
SetDisableValue ( int id, bool value ) : void

Method Details

DeleteById() public method

public DeleteById ( int id ) : int
id int
return int

DisableUrl() public method

public DisableUrl ( int id ) : bool
id int
return bool

EnableUrl() public method

public EnableUrl ( int id ) : bool
id int
return bool

GetAll() public method

public GetAll ( ) : IEnumerable
return IEnumerable

GetTaskById() public method

public GetTaskById ( int id ) : ScheduleUrl
id int
return ScheduleUrl

PostSave() public method

public PostSave ( ScheduleUrl url ) : ScheduleUrl
url ScheduleUrl
return ScheduleUrl

RunTaskNow() public method

public RunTaskNow ( int id ) : string
id int
return string