forked from ddrilling/AsbCloudServer
20 lines
513 B
C#
20 lines
513 B
C#
using AsbCloudApp.Data;
|
|
using AsbCloudApp.Services;
|
|
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace AsbCloudWebApi.Controllers
|
|
{
|
|
[Route("api/admin/deposit")]
|
|
[ApiController]
|
|
[Authorize]
|
|
public class AdminDepositController : CrudController<DepositDto, ICrudService<DepositDto>>
|
|
{
|
|
public AdminDepositController(ICrudService<DepositDto> service)
|
|
: base(service)
|
|
{
|
|
service.Includes.Add("Clusters");
|
|
}
|
|
}
|
|
}
|