The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DevController.cs 715B

1234567891011121314151617181920212223242526
  1. using Microsoft.AspNetCore.Authorization;
  2. using Microsoft.AspNetCore.Mvc;
  3. using Microsoft.Extensions.Logging;
  4. using Teknik.Attributes;
  5. using Teknik.Configuration;
  6. using Teknik.Controllers;
  7. using Teknik.Data;
  8. using Teknik.Filters;
  9. using Teknik.Utilities;
  10. using Teknik.Logging;
  11. namespace Teknik.Areas.Dev.Controllers
  12. {
  13. [TeknikAuthorize]
  14. [Area("Dev")]
  15. public class DevController : DefaultController
  16. {
  17. public DevController(ILogger<Logger> logger, Config config, TeknikEntities dbContext) : base(logger, config, dbContext) { }
  18. [AllowAnonymous]
  19. public IActionResult Index()
  20. {
  21. return Redirect(Url.SubRouteUrl("www", "Home.Index"));
  22. }
  23. }
  24. }