Move api controller endpoints to api project

This commit is contained in:
jvyden 2022-05-14 16:49:18 -04:00
parent 47271d1798
commit 4caef5fd63
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
5 changed files with 5 additions and 13 deletions

View file

@ -1,16 +1,11 @@
#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using LBPUnion.ProjectLighthouse.Types;
using LBPUnion.ProjectLighthouse.Types.Levels;
using LBPUnion.ProjectLighthouse.Types.Settings;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace LBPUnion.ProjectLighthouse.Controllers.Api;
namespace LBPUnion.ProjectLighthouse.API.Controllers;
/// <summary>
/// A collection of endpoints relating to slots.

View file

@ -1,11 +1,9 @@
using System.Threading.Tasks;
using LBPUnion.ProjectLighthouse.Helpers;
using LBPUnion.ProjectLighthouse.Types;
using LBPUnion.ProjectLighthouse.Types.Api;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace LBPUnion.ProjectLighthouse.Controllers.Api;
namespace LBPUnion.ProjectLighthouse.API.Controllers;
/// <summary>
/// A collection of endpoints relating to statistics.

View file

@ -1,14 +1,12 @@
#nullable enable
using System.Threading.Tasks;
using LBPUnion.ProjectLighthouse.Types;
using LBPUnion.ProjectLighthouse.Types.Profiles;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
// ReSharper disable RouteTemplates.ActionRoutePrefixCanBeExtractedToControllerRoute
namespace LBPUnion.ProjectLighthouse.Controllers.Api;
namespace LBPUnion.ProjectLighthouse.API.Controllers;
/// <summary>
/// A collection of endpoints relating to users.

View file

@ -1,3 +1,4 @@
using LBPUnion.ProjectLighthouse.API.Startup;
using LBPUnion.ProjectLighthouse.Logging.Loggers.AspNet;
using LBPUnion.ProjectLighthouse.Types;
using LBPUnion.ProjectLighthouse.Types.Settings;

View file

@ -3,7 +3,7 @@ using LBPUnion.ProjectLighthouse.Serialization;
using LBPUnion.ProjectLighthouse.Startup.Middlewares;
using Microsoft.OpenApi.Models;
namespace LBPUnion.ProjectLighthouse.API;
namespace LBPUnion.ProjectLighthouse.API.Startup;
public class ApiStartup
{