Beispiel #1
0
        protected HttpResponseMessage StartJob(Action <ISession, Config.Config, RequestLog> cmd)
        {
            var existsJob = new RequestLog(CurrentUser, Request, GetType().Name);

            existsJob.StartJob(Session, (x, y) => cmd(x, Config, y));
            return(existsJob.ToResult(Request, Config));
        }