public async Task <IActionResult> AdminAuthentication(string emailAddress, string password) { try { var adminAuth = await _userManagerService.AdminAuthentication(emailAddress, password); if (adminAuth) { var response = new ResponseDataObject { Message = "Authenticated", Status = adminAuth, }; return(Ok(response)); } return(Unauthorized()); } catch (Exception ex) { return(BadRequest(ex)); } }