/// <summary> /// This method adds an entity to the context. /// </summary> /// <typeparam name="T"></typeparam> /// <param name="entity"></param> public void Add <T>(T entity) where T : class { _context.Add <T>(entity); }