Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using SitefinityWebApp.Custom.Services;
- using System.Web.Mvc;
- namespace SitefinityWebApp.Controllers
- {
- public class ClassicController : Controller
- {
- private readonly IHelloSitefinityService service;
- public ClassicController(IHelloSitefinityService service)
- {
- this.service = service;
- }
- public ActionResult Index()
- {
- var helloString = this.service.SayHello();
- return this.View(nameof(this.Index), helloString);
- }
- }
- }
Add Comment
Please, Sign In to add comment