aspnet / MusicStore

[Archived] MusicStore test application that uses ASP.NET/EF Core. Project moved to https://github.com/aspnet/AspNetCore
1.3k stars 878 forks source link

Switch async void to async Task #879

Closed javiercn closed 5 years ago

javiercn commented 5 years ago

This repository is a test application used for ASP.NET Core internal test processes. It is not intended to be a representative sample of how to use ASP.NET Core.

Samples and docs for ASP.NET Core can be found here: https://docs.asp.net.

natemcmaster commented 5 years ago

D:\a\1\s\test\MusicStore.Test\Models\ShoppingCartTest.cs(22,27): error CS1983: The return type of an async method must be void, Task or Task [D:\a\1\s\test\MusicStore.Test\MusicStore.Test.csproj]