public async Task <IActionResult> Post(SchedulerItemAdditionRequest request) { var schedulerItem = new SchedulerItemDTO { Name = request.Name, MessageSubject = request.Subject, MessageBody = request.Body, ExecutionFrequency = request.ExecutionFrequency, ExecutionHours = request.ExecutionHours, ExecutionMinutes = request.ExecutionMinutes, ExecutionDayOfWeek = request.ExecutionDayOfWeek }; var idSchedulerItem = await scheduleManager.CreateSchedulerItemAsync(schedulerItem); return(Ok(idSchedulerItem)); }