public IActionResult Hindi(WordCounterModel wc) { string output = wc.WordCounter; Hindi hindi = new Hindi(); wc.wordDict = hindi.computeHindi(output); return(View(wc)); }
public void ChooseLanguage(object sender, KeyEventArgs e) { if (e.Key == Key.F1) { Hindi.PerformClick(); } if (e.Key == Key.F2) { English.PerformClick(); } }
public async Task AddQuote(Hindi item) { try { await _context.Hindi.InsertOneAsync(item); } catch (Exception ex) { throw ex; } }
public void GetOnlyOneCountryForHindiLanguage() { var data = new Hindi().Countries; data.Length.Should().Be(1); }
public async Task <IActionResult> Post([FromBody] Hindi value) { await _hindiQManager.AddQuote(value); return(Ok()); }
public HindiToEnglish(Hindi _hindi) { this._hindi = _hindi; }