refactor(giving): drop unused accessor from category service + add deactivate-missing test
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user