DD.WellWorkover.Cloud/AsbCloudWebApi/Controllers/AdminDepositController.cs

20 lines
512 B
C#
Raw Normal View History

2021-09-10 11:28:57 +05:00
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.Incledes.Add("Clusters");
}
}
}