using System; using System.Net.Http; using Application.Domain.Entities; using Application.Models; using Infrastructure.Data; using Infrastructure.Extensions; using Microsoft.AspNetCore.Mvc; using SPService.Applicaiton.Models; using Swashbuckle.AspNetCore.Annotations; namespace SerialPortService.Controllers { public class HomeController : Controller { private readonly IRepository