Add a cache system on the referential info
+ Add an identity service
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user