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 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; } }