Beging to add the authorization with a JWT token

This commit is contained in:
Sébastien André
2020-03-19 21:33:09 +01:00
parent 170ccbd9c5
commit 7bb702e46c
9 changed files with 132 additions and 17 deletions

View File

@@ -7,15 +7,16 @@ namespace skydiveLogs_api.Business.Interface
{
public interface IJumpService
{
IEnumerable<Jump> GetAllJumps();
IEnumerable<Jump> GetAllJumps(User connectedUser);
Jump GetJumpById(int id);
void AddNewJump(int aircraftId,
int dzId,
int jumpTypeId,
int gearId,
Jump jump);
int gearId,
Jump jump,
User connectedUser);
void UpdateJump(int id, Jump jump);