DD.WellWorkover.Cloud/AsbCloudWebApi/Controllers/AdminDepositController.cs
2022-04-11 18:00:34 +05:00

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");
}
}
}