net 5.0 => net 6.0

parent a5a0c3ef
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using PhoneStore.Models;
using PhoneStore.ViewModels;
......@@ -14,6 +15,7 @@ namespace PhoneStore.Controllers
}
[HttpGet]
[Authorize]
public IActionResult Create()
{
return View();
......
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<LangVersion>10</LangVersion>
</PropertyGroup>
<ItemGroup>
......
{
"ConnectionStrings": {
"DefaultConnection": "Server=localhost;Port=54320;database=lesson68;Username=postgres;Password=postgres;"
"DefaultConnection": "Server=localhost;Port=5432;database=lesson68;Username=postgres;Password=postgres;"
},
"Logging": {
"LogLevel": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment