//public async Task<ApiResult<string>> TestOtp(CancellationToken cancellationToken) public async Task <OtpModel> RequestOtp(string phone, int center, CancellationToken cancellationToken) { OtpModel model = _otpService.GetCode(phone); //if (center == 1) //{ // var res = await _mashhadSmsService.SendBasicOtp(phone, model.Code); //} //else //{ // var res = await _kavenegar.SendOtp(phone, model.Code); //} return(model); }