public void Insert(T entity) { //entity.ThrowIfArgumentNull(nameof(entity)); Entities.Add(entity); _context.SaveChanges(); }