Commit 03df7b83 authored by Alexey Goikolov's avatar Alexey Goikolov

Изменил контроллер UsersController.cs

Изменил экшн такой-то. Добавил проверку в экшене таком-то. Изменил логику экшена 222. Поменял представление 222.
parent 180d87b1
......@@ -7,6 +7,8 @@ using Microsoft.EntityFrameworkCore;
namespace CockieAuthApp.Controllers
{
//TO-DO
public class Users : Controller
{
private readonly AuthContext _db;
......
......@@ -8,6 +8,7 @@ namespace CockieAuthApp.Models
public string Id { get; set; } = Guid.NewGuid().ToString();
public string Email { get; set; }
public string Password { get; set; }
public string Example { get; set; }
public int? RoleId { get; set; }
public Role Role { get; set; }
......
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