public IActionResult Get(int phone, string text) { if (!VoiceService.PostTextByPhone(phone, text)) { return(BadRequest("Error trying register text")); } return(Ok("Register successful")); }