User RCL .NET Identity.

This commit is contained in:
2019-05-18 02:56:01 +01:00
parent aada3f5e86
commit f0c603415d
64 changed files with 18 additions and 4596 deletions

View File

@@ -31,6 +31,7 @@
using System.Linq;
using System.Threading.Tasks;
using Cicm.Database.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
@@ -39,6 +40,7 @@ using Microsoft.EntityFrameworkCore.Query;
namespace cicm_web.Areas.Admin.Controllers
{
[Area("Admin")]
[Authorize]
public class CompaniesController : Controller
{
readonly cicmContext _context;