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.

APIController.cs 610B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Data.Entity;
  4. using System.IO;
  5. using System.Linq;
  6. using System.Web;
  7. using System.Web.Mvc;
  8. using Teknik.Areas.Upload;
  9. using Teknik.Controllers;
  10. using Teknik.Utilities;
  11. using Teknik.Models;
  12. using Teknik.Attributes;
  13. namespace Teknik.Areas.API.Controllers
  14. {
  15. [TeknikAuthorize]
  16. public class APIController : DefaultController
  17. {
  18. private TeknikEntities db = new TeknikEntities();
  19. [AllowAnonymous]
  20. public ActionResult Index()
  21. {
  22. return Redirect(Url.SubRouteUrl("help", "Help.API"));
  23. }
  24. }
  25. }