using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.ViewFeatures; namespace Events.Tests.UnitTests.Infrastructure; internal sealed class TestTempDataProvider : ITempDataProvider { private Dictionary values = []; public IDictionary LoadTempData(HttpContext context) { return new Dictionary(values); } public void SaveTempData(HttpContext context, IDictionary values) { this.values = new Dictionary(values); } }