Implementation of repositories and return infos
This commit is contained in:
@@ -1,11 +1,44 @@
|
||||
using skydiveLogs_api.Business.Interface;
|
||||
using skydiveLogs_api.Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using skydiveLogs_api.Data.Interface;
|
||||
|
||||
namespace skydiveLogs_api.Business
|
||||
{
|
||||
public class JumpTypeService : IJumpTypeService
|
||||
{
|
||||
public JumpTypeService(IJumpTypeRepository jumpTypeRepository)
|
||||
{
|
||||
_jumpTypeRepository = jumpTypeRepository;
|
||||
}
|
||||
|
||||
public void AddNewJumpType(JumpType value)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void DeleteJumpTypeById(int id)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public IEnumerable<JumpType> GetAllJumpTypes()
|
||||
{
|
||||
return _jumpTypeRepository.GetAllJumpTypes();
|
||||
}
|
||||
|
||||
public JumpType GetJumpTypeById(int id)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void UpdateJumpType(int id, JumpType value)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
private readonly IJumpTypeRepository _jumpTypeRepository;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user