Example #1
0
        public IActionResult RandomActions(RandomActionsQuery model)
        {
            var tasks = TaskerHelper.GenerateRandom(RoutingKeys.Random, model.Count, model.Min, model.Max);

            Send(tasks);
            return(new JsonResult(new { message = "Tasks are sent" }));
        }
Example #2
0
 static ArgsTask CreateTask()
 {
     return(TaskerHelper.GenerateRandom(RoutingKey).First());
 }