presence/presence_api/Controllers/AdminPanelController.cs
2024-11-15 12:22:30 +03:00

26 lines
631 B
C#

using domain.Models;
using domain.UseCase;
using Microsoft.AspNetCore.Mvc;
namespace presence_api.Controllers;
[ApiController]
[Route("api/admin")]
public class AdminPanelController : ControllerBase
{
private readonly GroupUseCase _groupUseCase;
private readonly UserUseCase _userUseCase;
private readonly UseCaseGeneratePresence _presenceUseCase;
public AdminPanelController(GroupUseCase groupUseCase, UserUseCase userUseCase, UseCaseGeneratePresence presenceUseCase)
{
_groupUseCase = groupUseCase;
_userUseCase = userUseCase;
_presenceUseCase = presenceUseCase;
}
}