C# Class FailureTroubleshooting.Infrastructure.ActionLogAttribute

Inheritance: System.Web.Http.Filters.ActionFilterAttribute
Exibir arquivo Open project: Zjazure/FailureTroubleshooting

Public Methods

Method Description
ActionLogAttribute ( string actionName ) : System
OnActionExecuted ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext ) : void

Private Methods

Method Description
Log ( string actionName, int userId ) : void
SaveDb ( string actionName, int userId, string ip ) : void

Method Details

ActionLogAttribute() public method

public ActionLogAttribute ( string actionName ) : System
actionName string
return System

OnActionExecuted() public method

public OnActionExecuted ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext ) : void
actionExecutedContext System.Web.Http.Filters.HttpActionExecutedContext
return void