mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 19:34:40 +08:00
23 lines
694 B
C#
23 lines
694 B
C#
using System.Web.Mvc;
|
|
using Orchard.Localization;
|
|
using Orchard.Recipes.Services;
|
|
|
|
namespace Orchard.Recipes.Controllers {
|
|
public class RecipesController : Controller {
|
|
private readonly IRecipeJournal _recipeJournal;
|
|
|
|
public RecipesController(IRecipeJournal recipeJournal) {
|
|
_recipeJournal = recipeJournal;
|
|
T = NullLocalizer.Instance;
|
|
}
|
|
|
|
public Localizer T { get; set; }
|
|
|
|
public ActionResult RecipeExecutionStatus (string executionId) {
|
|
var recipeStatus = _recipeJournal.GetRecipeStatus(executionId);
|
|
var model = recipeStatus;
|
|
|
|
return View(model);
|
|
}
|
|
}
|
|
} |