Add Gear controller/service/repo and relations in db between Jumps and others objects
This commit is contained in:
18
Back/skydiveLogs-api.Business/Interface/IGearService.cs
Normal file
18
Back/skydiveLogs-api.Business/Interface/IGearService.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System.Collections.Generic;
|
||||
using skydiveLogs_api.Model;
|
||||
|
||||
namespace skydiveLogs_api.Business.Interface
|
||||
{
|
||||
public interface IGearService
|
||||
{
|
||||
IEnumerable<Gear> GetAllGears();
|
||||
|
||||
Gear GetGearById(int id);
|
||||
|
||||
void DeleteGearById(int id);
|
||||
|
||||
void UpdateGear(int id, Gear Gear);
|
||||
|
||||
void AddNewGear(Gear Gear);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user