using System; using System.Collections.ObjectModel; using System.Threading.Tasks; namespace Model { public interface IManager { public Task Add(T toAdd); public Task GetOneByName(string name); public Task GetOneByID(Guid ID); public Task> GetAll(); public Task Update(T before, T after); public void Remove(T toRemove); } }