Update to Onion Architecture.
This commit is contained in:
20
Back/skydiveLogs-api.Business/Interfaces/IGearService.cs
Normal file
20
Back/skydiveLogs-api.Business/Interfaces/IGearService.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
using skydiveLogs_api.Domain;
|
||||
|
||||
|
||||
namespace skydiveLogs_api.Business.Interfaces
|
||||
{
|
||||
public interface IGearService
|
||||
{
|
||||
IEnumerable<Gear> GetAllGears(User connectedUser);
|
||||
|
||||
Gear GetGearById(int id);
|
||||
|
||||
void DeleteGearById(int id);
|
||||
|
||||
void UpdateGear(int id, Gear gear);
|
||||
|
||||
void AddNewGear(Gear gear, User connectedUser);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user