コード例 #1
0
        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));
        }
コード例 #2
0
 public IActionResult CountConfigurationAction(FollowerCountConfiguration model)
 {
     model.LoadDefaultSettings(CountConfiguration);
     return(View("CountConfiguration", model));
 }