daily pastebin goal
17%
SHARE
TWEET

Untitled

a guest May 17th, 2018 147 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using SitefinityWebApp.Custom.Services;
  2. using System.Web.Mvc;
  3.  
  4. namespace SitefinityWebApp.Controllers
  5. {
  6.     public class ClassicController : Controller
  7.     {
  8.         private readonly IHelloSitefinityService service;
  9.  
  10.         public ClassicController(IHelloSitefinityService service)
  11.         {
  12.             this.service = service;
  13.         }
  14.  
  15.         public ActionResult Index()
  16.         {
  17.             var helloString = this.service.SayHello();
  18.  
  19.             return this.View(nameof(this.Index), helloString);
  20.         }
  21.  
  22.     }
  23. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top