Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 807 Bytes

README.md

File metadata and controls

42 lines (32 loc) · 807 Bytes

Player selection

Build the solution

This solution requires .NET 6 installed.

To build the solution run from the project folder

dotnet build

Run solution locally

To run the solution locally just run this command from the project folder (WebApi folder)

dotnet run

Run tests

To run the tests just run this command

dotnet test

Migration

Note that dotnet-ef tools is required to run the migration, run the following to install the tool

dotnet tool install --global dotnet-ef

Add migration

To add the migration, run this command from the project folder (WebApi folder)

dotnet ef migrations add InitialCreate

where InitialCreate is the name of the migration

Update database

dotnet ef database update