Exemple #1
0
        private async Task <bool> UpdateDailyReportAsync(DailyReportCommandData dailyReport)
        {
            var supervisers = await crmService.GetSupervisersAsync(CommandContext.ChatId);

            return(await crmService.CreateDailyReportAsync(CommandContext.ChatId, dailyReport.Message, dailyReport.DailyReportDate, supervisers.Select(u => u.Id)));
        }