Example #1
0
        public ActionResult <DtoEditSchedule> Edit([FromBody] DtoEditSchedule value)
        {
            var edited = scheduleManager.EditSchedule(value);

            if (edited != null)
            {
                return(Ok(edited));
            }
            return(BadRequest());
        }