예제 #1
0
 public void Execute(IJobExecutionContext context)
 {
     using (var korvaltasHelper = new KorvaltasHelper())
     {
         korvaltasHelper.Korvaltas();
     }
 }
예제 #2
0
      public ActionResult Korvaltas(string returnUrl)
      {

            using (var korvaltasHelper = new KorvaltasHelper())
            {
                korvaltasHelper.Korvaltas();
            }
            return RedirectToLocal(returnUrl);
      }