refactor(giving): drop unused accessor from category service + add deactivate-missing test

This commit is contained in:
Chris Chen
2026-05-28 16:33:27 -07:00
parent 798dfa3fe0
commit cb15d30980
2 changed files with 13 additions and 6 deletions
@@ -1,4 +1,3 @@
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using ROLAC.API.Data;
using ROLAC.API.DTOs.Giving;
@@ -9,7 +8,7 @@ namespace ROLAC.API.Services;
public class GivingCategoryService : IGivingCategoryService
{
private readonly AppDbContext _db;
public GivingCategoryService(AppDbContext db, IHttpContextAccessor http) => _db = db;
public GivingCategoryService(AppDbContext db) => _db = db;
public async Task<List<GivingCategoryDto>> GetAllAsync(bool includeInactive)
{