public async Task <IActionResult> AdminRegister([FromBody] UserRegister userDetails) { var result = await _authRepository.AdminRegister(userDetails); return(Ok(result)); }