implement character controller methods

This commit is contained in:
StevanFreeborn
2022-06-24 10:10:02 -05:00
parent 21d9fdab16
commit 9bc24949b7
6 changed files with 107 additions and 9 deletions
@@ -1,6 +1,19 @@
namespace server.Persistence.Repositories
using server.Models;
namespace server.Persistence.Repositories
{
public class CharacterRepository : ICharacterRepository
{
// TODO: Implement getcharactersasync
public Task<List<Character>> GetCharactersAsync(CharacterFilter filter)
{
throw new NotImplementedException();
}
// TODO: Implement getcharacterbyidasync
public Task<Character> GetCharacterByIdAsync(string id)
{
throw new NotImplementedException();
}
}
}
@@ -1,13 +1,10 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using server.Models;
namespace server.Persistence.Repositories
{
public interface ICharacterRepository
{
Task<List<Character>> GetCharactersAsync(CharacterFilter filter);
Task<Character> GetCharacterByIdAsync(string id);
}
}