public T Add(T entity) { using (var repo = new NHGetAllRepository <T>()) { return(repo.Add(entity)); } }