Can anyone help with this?
public virtual void AddOrUpdate(T entity)
{
#region Argument Validation
if (entity == null)
{
throw new ArgumentNullException("entity");
}
#endregion
DbSet.AddOrUpdate(e => e.Id, entity);
SaveChanges();
}
Getting error as "DbSet does not contain a definition for AddorUpdate?"