Files
SkydiveLogs/Back/skydiveLogs-api.Business/DropZoneService.cs
2019-11-10 19:31:55 +01:00

46 lines
1.0 KiB
C#

using System;
using System.Collections.Generic;
using skydiveLogs_api.Business.Interface;
using skydiveLogs_api.Data.Interface;
using skydiveLogs_api.Model;
namespace skydiveLogs_api.Business
{
public class DropZoneService : IDropZoneService
{
public DropZoneService(IDropZoneRepository dropZoneRepository)
{
_dropZoneRepository = dropZoneRepository;
}
public void AddNewDz(DropZone dropZone)
{
throw new NotImplementedException();
}
public void DeleteDzById(int id)
{
throw new NotImplementedException();
}
public IEnumerable<DropZone> GetAllDzs()
{
return _dropZoneRepository.GetAll();
}
public DropZone GetDzById(int id)
{
return _dropZoneRepository.GetById(id);
}
public void UpdateDz(int id, DropZone dropZone)
{
throw new NotImplementedException();
}
private readonly IDropZoneRepository _dropZoneRepository;
}
}