using BlueWest.Data.Auth.Context.Users; using CodeLiturgy.Data.Capital; using CodeLiturgy.Domain; using CodeLiturgy.Views.Utils; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Cors; using Microsoft.AspNetCore.Mvc; namespace CodeLiturgy.Views.Controllers { [Route("api/envs")] [ApiController] [Authorize] public class EnvironmentsController : ControllerBase { private ApplicationUserManager _userManager; private ILogger _logger; private SiteDbContext _siteDbContext; public EnvironmentsController(ApplicationUserManager userManager, ILogger logger, SiteDbContext siteDbContext) { _logger = logger; _userManager = userManager; _siteDbContext = siteDbContext; } [HttpGet] public async Task> GetSites() { return Ok(new Site()); } } }