refactor(services): split services into separate folders and update namespaces

This commit is contained in:
ShiYu
2025-05-22 21:18:02 +08:00
parent 9243a26189
commit fba716ba28
33 changed files with 96 additions and 107 deletions

View File

@@ -3,7 +3,7 @@ using Microsoft.AspNetCore.Mvc;
using Foxel.Models;
using Foxel.Models.Request.Album;
using Foxel.Models.Response.Album;
using Foxel.Services.Interface;
using Foxel.Services.Media;
namespace Foxel.Controllers;

View File

@@ -1,9 +1,10 @@
using Foxel.Models;
using Foxel.Services.Interface;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Foxel.Models.Request.Auth;
using Foxel.Models.Response.Auth;
using Foxel.Services.Auth;
using Foxel.Services.Configuration;
namespace Foxel.Controllers;

View File

@@ -1,7 +1,7 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Foxel.Models;
using Foxel.Services.Interface;
using Foxel.Services.Background;
namespace Foxel.Controllers;

View File

@@ -3,7 +3,7 @@ using Microsoft.AspNetCore.Mvc;
using Foxel.Models;
using Foxel.Models.DataBase;
using Foxel.Models.Request.Config;
using Foxel.Services.Interface;
using Foxel.Services.Configuration;
namespace Foxel.Controllers;

View File

@@ -4,9 +4,10 @@ using Foxel.Models;
using Foxel.Models.DataBase;
using Foxel.Models.Request.Picture;
using Foxel.Models.Response.Picture;
using Foxel.Services.Interface;
using System.Text.Json;
using System.Text.Json.Serialization;
using Foxel.Services.Configuration;
using Foxel.Services.Media;
namespace Foxel.Controllers;

View File

@@ -3,7 +3,7 @@ using Microsoft.AspNetCore.Mvc;
using Foxel.Models;
using Foxel.Models.Request.Tag;
using Foxel.Models.Response.Tag;
using Foxel.Services.Interface;
using Foxel.Services.Media;
namespace Foxel.Controllers;