using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace Home.Controllers { [Controller] [AllowAnonymous] [Route("[Controller]/[Action]")] public abstract class MvcBaseController : Controller { } }