ExternalController.cs 823 B

123456789101112131415161718192021222324252627
  1. using Microsoft.AspNetCore.Http;
  2. using Microsoft.AspNetCore.Mvc;
  3. using ProductionLineMonitor.Application.Services.EnergyConsumptionService.Dtos;
  4. using ProductionLineMonitor.Core.Dtos;
  5. using ProductionLineMonitor.Core.IRepositories;
  6. using ProductionLineMonitor.Core.Models;
  7. using ProductionLineMonitor.Core.Services;
  8. using ProductionLineMonitor.Web.Services;
  9. using System;
  10. using System.Collections;
  11. using System.Collections.Generic;
  12. using System.Linq;
  13. using System.Security.Principal;
  14. namespace ProductionLineMonitor.Web.Controllers
  15. {
  16. [Route("api/[controller]")]
  17. [ApiController]
  18. public class ExternalController : ControllerBase
  19. {
  20. private readonly IUnitOfWork _unitOfWork;
  21. public ExternalController(IUnitOfWork unitOfWork)
  22. {
  23. _unitOfWork = unitOfWork;
  24. }
  25. }
  26. }