25 lines
525 B
C#
25 lines
525 B
C#
using System.Collections.Generic;
|
|
|
|
using skydiveLogs_api.Domain;
|
|
|
|
|
|
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);
|
|
|
|
void AddNewDz(DropZone dropZone);
|
|
|
|
bool AddToFavorite(int dzId, User connectedUser);
|
|
|
|
bool RemoveToFavorite(int dzId, User connectedUser);
|
|
}
|
|
}
|