/// <summary>Deletes the specified entity.</summary> /// <typeparam name="T"></typeparam> /// <param name="entity">The entity.</param> public void Delete <T>(T entity) where T : class { _context.Remove(entity); }