Update to Onion Architecture.

This commit is contained in:
Sébastien André
2021-03-01 20:33:00 +01:00
parent e0c41131cc
commit 9341bb284e
70 changed files with 222 additions and 202 deletions

View File

@@ -0,0 +1,25 @@
using System.Collections.Generic;
using skydiveLogs_api.Domain;
namespace skydiveLogs_api.Business.Interfaces
{
public interface IJumpService
{
IEnumerable<Jump> GetAllJumps(User connectedUser);
Jump GetJumpById(int id);
void AddNewJump(int aircraftId,
int dzId,
int jumpTypeId,
int gearId,
Jump jump,
User connectedUser);
void UpdateJump(int id, Jump jump);
void DeleteJumpById(int id);
}
}