示例#1
0
 public STimeTable MapUpdateRequesttoTimeTable(UpdateTimeTableCommand request)
 {
     return(_mapper.Map <UpdateTimeTableCommand, STimeTable>(request));
 }
 public async Task <ActionResult> UpdateTimeTableAsync([FromBody] UpdateTimeTableCommand command)
 {
     return(Ok(await CommandAsync(command)));
 }