hanyadikhetvan-dotnethf/HanyadikHetVan/Controllers/PauseController.cs

27 lines
644 B
C#
Raw Normal View History

2021-05-03 18:15:26 +02:00
using HanyadikHetVan.Data.Entities;
using HanyadikHetVan.Interface;
using HanyadikHetVan.Services;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace HanyadikHetVan.Controllers
{
[Route("api/pause")]
[ApiController]
public class PauseController
{
private readonly PauseService _pauseService;
private readonly IRepository<Pause> _pause;
public PauseController(IRepository<Pause> pause, PauseService pauseService)
{
_pauseService = pauseService;
_pause = pause;
}
}
}