public async Task <FoodItem> GetFoodItemAsNoTracked(FoodItem foodItem) { var realFoodItem = await FoodItems .AsNoTracking() .Where(v => v.FoodItemId == foodItem.FoodItemId) .FirstAsync(); return(realFoodItem); }