private void RandomNumberGenerate(object rowItem) { MeowModel meowModel = rowItem as MeowModel; meowModel.RandomNumber = _randomNumber.Next(0, 5); _animalSoundService.AnimalTypeCalling(meowModel.RandomNumber); }
public ActionResult MeowCount(string inputString) { int result = MeowModel.MeowCount(inputString); return(PartialView((object)result.ToString())); }