常用方法
常用方法
常用方法
常用方法
public ActionResult <DtoCreateSchedule> Create([FromBody] DtoCreateSchedule value) { var created = scheduleManager.AddNewSchedule(value); if (created != null) { return(Ok(created)); } return(BadRequest()); }