Files
SkydiveLogs/Back/skydiveLogs-api.Business/JumpService.cs
2019-09-30 15:16:34 +02:00

45 lines
1.0 KiB
C#

using System;
using System.Collections.Generic;
using System.Text;
using skydiveLogs_api.Business.Interface;
using skydiveLogs_api.Model;
using skydiveLogs_api.Data.Interface;
namespace skydiveLogs_api.Business
{
public class JumpService : IJumpService
{
public JumpService(IJumpRepository jumpRepository)
{
_jumpRepository = jumpRepository;
}
public void AddNewJump(Jump jump)
{
throw new NotImplementedException();
}
public void DeleteJumpById(int id)
{
throw new NotImplementedException();
}
public IEnumerable<Jump> GetAllJumps()
{
return _jumpRepository.GetAllJumps();
}
public Jump GetJumpById(int id)
{
return _jumpRepository.GetJumpById(id);
}
public void UpdateJump(int id, Jump jump)
{
throw new NotImplementedException();
}
private readonly IJumpRepository _jumpRepository;
}
}