public async Task <ActionResult <MessageModel> > AutihentivcateUser() { var currentUser = HttpContext.User; string username = currentUser.Claims.FirstOrDefault(currentUser => currentUser.Type == "Username").Value; return(await _userService.AdminCheck(username)); }