Implementation to have a favorite DZ by user.

This commit is contained in:
Sébastien André
2021-03-24 18:04:08 +01:00
parent beee601a57
commit 0a6dbf42e4
12 changed files with 255 additions and 194 deletions

View File

@@ -0,0 +1,13 @@
using skydiveLogs_api.Domain;
using System.Collections.Generic;
namespace skydiveLogs_api.DomainService.Repositories
{
public interface IFavoriteDropZoneRepository : IRepository<FavoriteDropZone>
{
int Delete(int dropZoneId, int userId);
IEnumerable<FavoriteDropZone> GetAll(User user);
}
}

View File

@@ -6,7 +6,7 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\skydiveLogs-api.Model\skydiveLogs-api.Domain.csproj" />
<ProjectReference Include="..\skydiveLogs-api.Domain\skydiveLogs-api.Domain.csproj" />
</ItemGroup>
</Project>