├── .gitattributes ├── .gitignore ├── Sandbox.EFCore ├── Program.cs └── Sandbox.EFCore.csproj ├── Sandbox ├── Program.cs └── Sandbox.csproj ├── VotingSystem.Applicaiton.Tests ├── StatisticsInteractorTests.cs ├── VotingInteractorTests.cs ├── VotingPollInteractorTests.cs └── VotingSystem.Applicaiton.Tests.csproj ├── VotingSystem.Application ├── StatisticsInteractor.cs ├── VotingInteractor.cs ├── VotingPollInteractor.cs └── VotingSystem.Application.csproj ├── VotingSystem.Database.Tests ├── AppDbContextTests.cs ├── Infrastructure │ └── DbContextFactory.cs ├── VotingSystem.Database.Tests.csproj └── VotingSystemPersistanceTests.cs ├── VotingSystem.Database ├── AppDbContext.cs ├── VotingSystem.Database.csproj └── VotingSystemPersistance.cs ├── VotingSystem.Integration.Tests ├── Fixtures │ └── VotingFixture.cs ├── Infrastructure │ ├── AntiForgeryUtils.cs │ └── DbContextUtils.cs ├── Ui │ └── VotingTests.cs ├── VotingSystem.Integration.Tests.csproj └── VotingTests.cs ├── VotingSystem.Tests ├── CounterManagerTests.cs ├── VotingPollTests.cs └── VotingSystem.Tests.csproj ├── VotingSystem.Ui ├── Controllers │ └── HomeController.cs ├── Pages │ ├── Index.cshtml │ ├── Index.cshtml.cs │ ├── Login.cshtml │ ├── Login.cshtml.cs │ ├── Poll.cshtml │ └── Poll.cshtml.cs ├── Program.cs ├── Properties │ └── launchSettings.json ├── Startup.cs ├── VotingSystem.Ui.csproj ├── appsettings.Development.json ├── appsettings.json └── wwwroot │ └── favicon.ico ├── VotingSystem.sln └── VotingSystem ├── CounterManager.cs ├── CounterStatistics.cs ├── ICounterManager.cs ├── IVotingPollFactory.cs ├── IVotingSystemPersistance.cs ├── Models ├── Counter.cs ├── Vote.cs └── VotingPoll.cs ├── PollStatistics.cs ├── VotingPollFactory.cs └── VotingSystem.csproj /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/.gitignore -------------------------------------------------------------------------------- /Sandbox.EFCore/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/Sandbox.EFCore/Program.cs -------------------------------------------------------------------------------- /Sandbox.EFCore/Sandbox.EFCore.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/Sandbox.EFCore/Sandbox.EFCore.csproj -------------------------------------------------------------------------------- /Sandbox/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/Sandbox/Program.cs -------------------------------------------------------------------------------- /Sandbox/Sandbox.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/Sandbox/Sandbox.csproj -------------------------------------------------------------------------------- /VotingSystem.Applicaiton.Tests/StatisticsInteractorTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Applicaiton.Tests/StatisticsInteractorTests.cs -------------------------------------------------------------------------------- /VotingSystem.Applicaiton.Tests/VotingInteractorTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Applicaiton.Tests/VotingInteractorTests.cs -------------------------------------------------------------------------------- /VotingSystem.Applicaiton.Tests/VotingPollInteractorTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Applicaiton.Tests/VotingPollInteractorTests.cs -------------------------------------------------------------------------------- /VotingSystem.Applicaiton.Tests/VotingSystem.Applicaiton.Tests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Applicaiton.Tests/VotingSystem.Applicaiton.Tests.csproj -------------------------------------------------------------------------------- /VotingSystem.Application/StatisticsInteractor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Application/StatisticsInteractor.cs -------------------------------------------------------------------------------- /VotingSystem.Application/VotingInteractor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Application/VotingInteractor.cs -------------------------------------------------------------------------------- /VotingSystem.Application/VotingPollInteractor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Application/VotingPollInteractor.cs -------------------------------------------------------------------------------- /VotingSystem.Application/VotingSystem.Application.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Application/VotingSystem.Application.csproj -------------------------------------------------------------------------------- /VotingSystem.Database.Tests/AppDbContextTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Database.Tests/AppDbContextTests.cs -------------------------------------------------------------------------------- /VotingSystem.Database.Tests/Infrastructure/DbContextFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Database.Tests/Infrastructure/DbContextFactory.cs -------------------------------------------------------------------------------- /VotingSystem.Database.Tests/VotingSystem.Database.Tests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Database.Tests/VotingSystem.Database.Tests.csproj -------------------------------------------------------------------------------- /VotingSystem.Database.Tests/VotingSystemPersistanceTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Database.Tests/VotingSystemPersistanceTests.cs -------------------------------------------------------------------------------- /VotingSystem.Database/AppDbContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Database/AppDbContext.cs -------------------------------------------------------------------------------- /VotingSystem.Database/VotingSystem.Database.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Database/VotingSystem.Database.csproj -------------------------------------------------------------------------------- /VotingSystem.Database/VotingSystemPersistance.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Database/VotingSystemPersistance.cs -------------------------------------------------------------------------------- /VotingSystem.Integration.Tests/Fixtures/VotingFixture.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Integration.Tests/Fixtures/VotingFixture.cs -------------------------------------------------------------------------------- /VotingSystem.Integration.Tests/Infrastructure/AntiForgeryUtils.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Integration.Tests/Infrastructure/AntiForgeryUtils.cs -------------------------------------------------------------------------------- /VotingSystem.Integration.Tests/Infrastructure/DbContextUtils.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Integration.Tests/Infrastructure/DbContextUtils.cs -------------------------------------------------------------------------------- /VotingSystem.Integration.Tests/Ui/VotingTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Integration.Tests/Ui/VotingTests.cs -------------------------------------------------------------------------------- /VotingSystem.Integration.Tests/VotingSystem.Integration.Tests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Integration.Tests/VotingSystem.Integration.Tests.csproj -------------------------------------------------------------------------------- /VotingSystem.Integration.Tests/VotingTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Integration.Tests/VotingTests.cs -------------------------------------------------------------------------------- /VotingSystem.Tests/CounterManagerTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Tests/CounterManagerTests.cs -------------------------------------------------------------------------------- /VotingSystem.Tests/VotingPollTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Tests/VotingPollTests.cs -------------------------------------------------------------------------------- /VotingSystem.Tests/VotingSystem.Tests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Tests/VotingSystem.Tests.csproj -------------------------------------------------------------------------------- /VotingSystem.Ui/Controllers/HomeController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Ui/Controllers/HomeController.cs -------------------------------------------------------------------------------- /VotingSystem.Ui/Pages/Index.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Ui/Pages/Index.cshtml -------------------------------------------------------------------------------- /VotingSystem.Ui/Pages/Index.cshtml.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Ui/Pages/Index.cshtml.cs -------------------------------------------------------------------------------- /VotingSystem.Ui/Pages/Login.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Ui/Pages/Login.cshtml -------------------------------------------------------------------------------- /VotingSystem.Ui/Pages/Login.cshtml.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Ui/Pages/Login.cshtml.cs -------------------------------------------------------------------------------- /VotingSystem.Ui/Pages/Poll.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Ui/Pages/Poll.cshtml -------------------------------------------------------------------------------- /VotingSystem.Ui/Pages/Poll.cshtml.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Ui/Pages/Poll.cshtml.cs -------------------------------------------------------------------------------- /VotingSystem.Ui/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Ui/Program.cs -------------------------------------------------------------------------------- /VotingSystem.Ui/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Ui/Properties/launchSettings.json -------------------------------------------------------------------------------- /VotingSystem.Ui/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Ui/Startup.cs -------------------------------------------------------------------------------- /VotingSystem.Ui/VotingSystem.Ui.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Ui/VotingSystem.Ui.csproj -------------------------------------------------------------------------------- /VotingSystem.Ui/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Ui/appsettings.Development.json -------------------------------------------------------------------------------- /VotingSystem.Ui/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.Ui/appsettings.json -------------------------------------------------------------------------------- /VotingSystem.Ui/wwwroot/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /VotingSystem.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem.sln -------------------------------------------------------------------------------- /VotingSystem/CounterManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem/CounterManager.cs -------------------------------------------------------------------------------- /VotingSystem/CounterStatistics.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem/CounterStatistics.cs -------------------------------------------------------------------------------- /VotingSystem/ICounterManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem/ICounterManager.cs -------------------------------------------------------------------------------- /VotingSystem/IVotingPollFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem/IVotingPollFactory.cs -------------------------------------------------------------------------------- /VotingSystem/IVotingSystemPersistance.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem/IVotingSystemPersistance.cs -------------------------------------------------------------------------------- /VotingSystem/Models/Counter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem/Models/Counter.cs -------------------------------------------------------------------------------- /VotingSystem/Models/Vote.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem/Models/Vote.cs -------------------------------------------------------------------------------- /VotingSystem/Models/VotingPoll.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem/Models/VotingPoll.cs -------------------------------------------------------------------------------- /VotingSystem/PollStatistics.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem/PollStatistics.cs -------------------------------------------------------------------------------- /VotingSystem/VotingPollFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem/VotingPollFactory.cs -------------------------------------------------------------------------------- /VotingSystem/VotingSystem.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/T0shik/raw-coding-voting-system/HEAD/VotingSystem/VotingSystem.csproj --------------------------------------------------------------------------------