VPR-Projekt/PenAndPaperManager/Interfaces/ISessionRepository.cs
NoKnownName 3fafc10742 Projekt
2025-05-23 10:36:56 +02:00

20 lines
466 B
C#

using Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Interfaces
{
public interface ISessionRepository
{
Session GetById(string id);
List<Session> GetByUserId(string userId);
List<Session> GetByCampaignId(string campaignId);
Session Add(Session session);
Session Update(Session session);
bool Delete(string id);
}
}