static void Main() { IDefaultRepository test = new ExampleRepository(); int id = 1; test.Remove(id); ExampleEntitie obj = new ExampleEntitie { Id = 1, Description = "Example" }; test.Insert(obj); List <ExampleEntitie> result = test.Get(); ExampleEntitie entitie = test.Get(obj.Id); test.Update(obj); }
public void Update(ExampleEntitie obj) { //Update object obj }
public void Insert(ExampleEntitie obj) { //Insert an object obj }