BaseController.cs 619 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Configuration;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Text.RegularExpressions;
  7. using System.Web;
  8. using Microsoft.AspNetCore.Mvc;
  9. using Microsoft.AspNetCore.Http;
  10. using Microsoft.Extensions.Logging;
  11. using Microsoft.Extensions.Options;
  12. using Library;
  13. namespace MySystem.Areas.Api.Controllers
  14. {
  15. public class BaseController : Controller
  16. {
  17. public IHttpContextAccessor _accessor;
  18. public BaseController(IHttpContextAccessor accessor)
  19. {
  20. _accessor = accessor;
  21. }
  22. }
  23. }