45 lines
1.1 KiB
C#
45 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
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.GetAllDzs();
|
|
}
|
|
|
|
public DropZone GetDzById(int id)
|
|
{
|
|
return _dropZoneRepository.GetDzById(id);
|
|
}
|
|
|
|
public void UpdateDz(int id, DropZone dropZone)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
private readonly IDropZoneRepository _dropZoneRepository;
|
|
}
|
|
}
|