Implementation of repositories and return infos
This commit is contained in:
@@ -2,10 +2,43 @@
|
||||
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)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void UpdateDz(int id, DropZone dropZone)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
private readonly IDropZoneRepository _dropZoneRepository;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user