|
|
@ -1,15 +1,12 @@
|
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Model
|
|
|
|
namespace Model
|
|
|
|
{
|
|
|
|
{
|
|
|
|
internal interface IManager
|
|
|
|
internal interface IManager
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public T Add<T>(ref T toAdd);
|
|
|
|
public T Add<T>(ref T toAdd);
|
|
|
|
public T Remove<T>(ref T toRemove);
|
|
|
|
public void Remove<T>(ref T toRemove);
|
|
|
|
public T Update<T>(ref T before, ref T after);
|
|
|
|
public T Update<T>(ref T before, ref T after);
|
|
|
|
|
|
|
|
public T GetOneById<T>(int id);
|
|
|
|
|
|
|
|
public IEnumerable<T> GetAll<T>();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|