49 lines
1.2 KiB
C#
49 lines
1.2 KiB
C#
using Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Services
|
|
{
|
|
public class CharacterService : ICharacterService
|
|
{
|
|
private readonly ICharacterRepository _characterRepository;
|
|
private readonly ISessionService _sessionService;
|
|
private readonly Logger _logger;
|
|
|
|
public CharacterService(ICharacterRepository characterRepository, ISessionService sessionService, Logger logger)
|
|
{
|
|
_characterRepository = characterRepository;
|
|
_sessionService = sessionService;
|
|
_logger = logger;
|
|
}
|
|
|
|
public Character GetCharacter(string characterId)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
public Character CreateCharacter(Dictionary<string, object> characterData)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
public Character UpdateCharacter(string characterId, Dictionary<string, object> data)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
public bool DeleteCharacter(string characterId)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public bool ValidateCharacterAccess(string userId, string characterId)
|
|
{
|
|
return false;
|
|
}
|
|
}
|
|
}
|