Exemplo n.º 1
0
        public Schedule Create(Schedule schedule)
        {
            var sched = ModelConverter.ConvertScheduleDtoToModel(
                _scheduleHandler.Create(ModelConverter.ConvertScheduleModelToDto(schedule)));

            return(sched);
        }
Exemplo n.º 2
0
 public Schedule Update(Schedule schedule)
 {
     return(ModelConverter.ConvertScheduleDtoToModel(
                _scheduleHandler.Update(ModelConverter.ConvertScheduleModelToDto(schedule))));
 }