コード例 #1
0
 public HttpResponseMessage Schedule(ErrorLogAddRequest model)
 {
     RecurringJob.AddOrUpdate(() => _errorService.Schedule(model), Cron.Minutely);
     return(Request.CreateResponse(HttpStatusCode.OK, new SuccessResponse()));
 }