자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public ActionResult <CommandReadDto> GetCommandById(int id) { var commandItem = _repository.GetCommandbyId(id); if (commandItem != null) { return(Ok(_mapper.Map <CommandReadDto>(commandItem))); } return(NotFound()); }