public STimeTable MapCreateRequesttoTimeTable(CreateTimeTableCommand request) { return(_mapper.Map <CreateTimeTableCommand, STimeTable>(request)); }
public async Task <ActionResult> CreateTimeTableAsync([FromBody] CreateTimeTableCommand command) { return(StatusCode(200, await CommandAsync(command))); }