public IActionResult AllUser() { try { var data = _loginService.AllDetails(); return(Ok(data)); } catch (Exception ex) { throw; } }