Projekt
This commit is contained in:
19
PenAndPaperManager/Interfaces/ICharacterRepository.cs
Normal file
19
PenAndPaperManager/Interfaces/ICharacterRepository.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Interfaces
|
||||
{
|
||||
public interface ICharacterRepository
|
||||
{
|
||||
Character GetById(string id);
|
||||
List<Character> GetByUserId(string userId);
|
||||
List<Character> GetBySessionId(string sessionId);
|
||||
Character Add(Character character);
|
||||
Character Update(Character character);
|
||||
bool Delete(string id);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user