using Bootstrap.DataAccess; using Bootstrap.Security; using Microsoft.AspNetCore.Mvc; using System.Linq; namespace Bootstrap.Admin.Controllers { /// /// /// [Route("api/[controller]")] public class NewController : Controller { /// /// /// /// /// [HttpGet] public bool Get(string userName) { return BootstrapUser.RetrieveUserByUserName(userName) == null && !UserHelper.RetrieveNewUsers().Any(u => u.UserName == userName); } } }