Add a link betweend a gear to the connected user.

This commit is contained in:
Sébastien André
2021-02-26 15:07:31 +01:00
parent 426dcec7d9
commit 92d600dc73
8 changed files with 25 additions and 10 deletions

View File

@@ -1,9 +1,10 @@
using skydiveLogs_api.Model;
using System.Collections.Generic;
namespace skydiveLogs_api.Data.Interface
{
public interface IGearRepository : IRepository<Gear>
{
IEnumerable<Gear> GetAll(User connectedUser);
}
}

View File

@@ -6,6 +6,5 @@ namespace skydiveLogs_api.Data.Interface
public interface IJumpRepository : IRepository<Jump>
{
IEnumerable<Jump> GetAll(User user);
}
}