public IActionResult Count(FollowerCountConfiguration model) { if (!ModelState.IsValid) { return(View("Docs_Count")); } model.LoadDefaultSettings(CountConfiguration); if (model.CurrentValue == 0) { model.CurrentValue = StreamService.CurrentFollowerCount; } return(View(model)); }
public IActionResult CountConfigurationAction(FollowerCountConfiguration model) { model.LoadDefaultSettings(CountConfiguration); return(View("CountConfiguration", model)); }