|
|
@ -7,99 +7,91 @@ using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
namespace EntityFramwork.Manager
|
|
|
|
namespace EntityFramwork.Manager
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public partial class Manager
|
|
|
|
public class ManagerChampion : IChampionsManager
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public class ChampionsManager : IChampionsManager
|
|
|
|
public Task<Champion?> AddItem(Champion? item)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
private readonly Manager parent;
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
|
|
|
}
|
|
|
|
public ChampionsManager(Manager parent)
|
|
|
|
|
|
|
|
=> this.parent = parent;
|
|
|
|
public Task<bool> DeleteItem(Champion? item)
|
|
|
|
|
|
|
|
{
|
|
|
|
public Task<Champion?> AddItem(Champion? item)
|
|
|
|
throw new NotImplementedException();
|
|
|
|
{
|
|
|
|
}
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
|
|
|
}
|
|
|
|
public Task<IEnumerable<Champion?>> GetItems(int index, int count, string? orderingPropertyName = null, bool descending = false)
|
|
|
|
|
|
|
|
{
|
|
|
|
public Task<bool> DeleteItem(Champion? item)
|
|
|
|
throw new NotImplementedException();
|
|
|
|
{
|
|
|
|
}
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
|
|
|
}
|
|
|
|
public Task<IEnumerable<Champion?>> GetItemsByCharacteristic(string charName, int index, int count, string? orderingPropertyName = null, bool descending = false)
|
|
|
|
|
|
|
|
{
|
|
|
|
public Task<IEnumerable<Champion?>> GetItems(int index, int count, string? orderingPropertyName = null, bool descending = false)
|
|
|
|
throw new NotImplementedException();
|
|
|
|
{
|
|
|
|
}
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
|
|
|
}
|
|
|
|
public Task<IEnumerable<Champion?>> GetItemsByClass(ChampionClass championClass, int index, int count, string? orderingPropertyName = null, bool descending = false)
|
|
|
|
|
|
|
|
{
|
|
|
|
public Task<IEnumerable<Champion?>> GetItemsByCharacteristic(string charName, int index, int count, string? orderingPropertyName = null, bool descending = false)
|
|
|
|
throw new NotImplementedException();
|
|
|
|
{
|
|
|
|
}
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
|
|
|
}
|
|
|
|
public Task<IEnumerable<Champion?>> GetItemsByName(string substring, int index, int count, string? orderingPropertyName = null, bool descending = false)
|
|
|
|
|
|
|
|
{
|
|
|
|
public Task<IEnumerable<Champion?>> GetItemsByClass(ChampionClass championClass, int index, int count, string? orderingPropertyName = null, bool descending = false)
|
|
|
|
throw new NotImplementedException();
|
|
|
|
{
|
|
|
|
}
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
|
|
|
}
|
|
|
|
public Task<IEnumerable<Champion?>> GetItemsByRunePage(RunePage? runePage, int index, int count, string? orderingPropertyName = null, bool descending = false)
|
|
|
|
|
|
|
|
{
|
|
|
|
public Task<IEnumerable<Champion?>> GetItemsByName(string substring, int index, int count, string? orderingPropertyName = null, bool descending = false)
|
|
|
|
throw new NotImplementedException();
|
|
|
|
{
|
|
|
|
}
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
|
|
|
}
|
|
|
|
public Task<IEnumerable<Champion?>> GetItemsBySkill(Skill? skill, int index, int count, string? orderingPropertyName = null, bool descending = false)
|
|
|
|
|
|
|
|
{
|
|
|
|
public Task<IEnumerable<Champion?>> GetItemsByRunePage(RunePage? runePage, int index, int count, string? orderingPropertyName = null, bool descending = false)
|
|
|
|
throw new NotImplementedException();
|
|
|
|
{
|
|
|
|
}
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
|
|
|
}
|
|
|
|
public Task<IEnumerable<Champion?>> GetItemsBySkill(string skill, int index, int count, string? orderingPropertyName = null, bool descending = false)
|
|
|
|
|
|
|
|
{
|
|
|
|
public Task<IEnumerable<Champion?>> GetItemsBySkill(Skill? skill, int index, int count, string? orderingPropertyName = null, bool descending = false)
|
|
|
|
throw new NotImplementedException();
|
|
|
|
{
|
|
|
|
}
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
|
|
|
}
|
|
|
|
public Task<int> GetNbItems()
|
|
|
|
|
|
|
|
{
|
|
|
|
public Task<IEnumerable<Champion?>> GetItemsBySkill(string skill, int index, int count, string? orderingPropertyName = null, bool descending = false)
|
|
|
|
throw new NotImplementedException();
|
|
|
|
{
|
|
|
|
}
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
|
|
|
}
|
|
|
|
public Task<int> GetNbItemsByCharacteristic(string charName)
|
|
|
|
|
|
|
|
{
|
|
|
|
public Task<int> GetNbItems()
|
|
|
|
throw new NotImplementedException();
|
|
|
|
{
|
|
|
|
}
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
|
|
|
}
|
|
|
|
public Task<int> GetNbItemsByClass(ChampionClass championClass)
|
|
|
|
|
|
|
|
{
|
|
|
|
public Task<int> GetNbItemsByCharacteristic(string charName)
|
|
|
|
throw new NotImplementedException();
|
|
|
|
{
|
|
|
|
}
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
|
|
|
}
|
|
|
|
public Task<int> GetNbItemsByName(string substring)
|
|
|
|
|
|
|
|
{
|
|
|
|
public Task<int> GetNbItemsByClass(ChampionClass championClass)
|
|
|
|
throw new NotImplementedException();
|
|
|
|
{
|
|
|
|
}
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
|
|
|
}
|
|
|
|
public Task<int> GetNbItemsByRunePage(RunePage? runePage)
|
|
|
|
|
|
|
|
{
|
|
|
|
public Task<int> GetNbItemsByName(string substring)
|
|
|
|
throw new NotImplementedException();
|
|
|
|
{
|
|
|
|
}
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
|
|
|
}
|
|
|
|
public Task<int> GetNbItemsBySkill(Skill? skill)
|
|
|
|
|
|
|
|
{
|
|
|
|
public Task<int> GetNbItemsByRunePage(RunePage? runePage)
|
|
|
|
throw new NotImplementedException();
|
|
|
|
{
|
|
|
|
}
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
|
|
|
}
|
|
|
|
public Task<int> GetNbItemsBySkill(string skill)
|
|
|
|
|
|
|
|
{
|
|
|
|
public Task<int> GetNbItemsBySkill(Skill? skill)
|
|
|
|
throw new NotImplementedException();
|
|
|
|
{
|
|
|
|
}
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
|
|
|
}
|
|
|
|
public Task<Champion?> UpdateItem(Champion? oldItem, Champion? newItem)
|
|
|
|
|
|
|
|
{
|
|
|
|
public Task<int> GetNbItemsBySkill(string skill)
|
|
|
|
throw new NotImplementedException();
|
|
|
|
{
|
|
|
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Task<Champion?> UpdateItem(Champion? oldItem, Champion? newItem)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|