Add a cache system on the referential info

+ Add an identity service
This commit is contained in:
Sébastien André
2021-04-17 22:17:45 +02:00
parent 0bb9ed2a30
commit 143127cd01
30 changed files with 955 additions and 570 deletions

View File

@@ -1,24 +1,26 @@
using System.Collections.Generic;
using skydiveLogs_api.Domain;
using skydiveLogs_api.Domain;
using System.Collections.Generic;
namespace skydiveLogs_api.DomainBusiness.Interfaces
{
public interface IDropZoneService
{
IEnumerable<DropZone> GetAllDzs(User connectedUser);
DropZone GetDzById(int id);
void DeleteDzById(int id);
bool UpdateDz(int id, DropZone dropZone);
#region Public Methods
void AddNewDz(DropZone dropZone);
bool AddToFavorite(int dzId, User connectedUser);
bool AddToFavorite(int dzId);
bool RemoveToFavorite(int dzId, User connectedUser);
void DeleteDzById(int id);
IEnumerable<DropZone> GetAllDzs();
DropZone GetDzById(int id);
bool RemoveToFavorite(int dzId);
bool UpdateDz(int id, DropZone dropZone);
#endregion Public Methods
}
}
}