Add drafts for Interface business and repository + DataContract presentation

This commit is contained in:
Sébastien André
2019-09-20 19:29:54 +02:00
parent 98d48ae2c6
commit 5d476e5e4e
25 changed files with 202 additions and 26 deletions

View File

@@ -4,6 +4,7 @@ using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using skydiveLogs_api.Business.Interface;
using skydiveLogs_api.DataContract;
namespace skydiveLogs_api.Controllers
@@ -12,6 +13,11 @@ namespace skydiveLogs_api.Controllers
[ApiController]
public class DropZoneController : ControllerBase
{
public DropZoneController(IDropZoneService dropZoneService)
{
_dropZoneService = dropZoneService;
}
// GET: api/DropZone
[HttpGet]
public IEnumerable<DropZoneResp> Get()
@@ -43,5 +49,7 @@ namespace skydiveLogs_api.Controllers
public void Delete(int id)
{
}
private readonly IDropZoneService _dropZoneService;
}
}