Пример #1
0
        private async Task <Schedule> AddScheduleAsync(HeadHunterSchedule headHunterSchedule)
        {
            var schedule = new Schedule {
                Code = headHunterSchedule.Id.ToLower(), Name = headHunterSchedule.Name
            };

            return(await _storageBroker.InsertScheduleAsync(schedule));
        }