public override DbItem GetItem(int id) { if (!IsAuthenticated) { throw AuthException.NotLoggedIn(); } return(_dataService.GetItem(id)); }
public override void Update(DbItem item) { if (!IsAuthenticated) { throw AuthException.NotLoggedIn(); } _dataService.Update(item); }
public override void Delete(DbRelation relation) { if (!IsAuthenticated) { throw AuthException.NotLoggedIn(); } _dataService.Delete(relation); }