자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public ActionResult <IEnumerable <Command> > GetAllCommands() { var commandItems = _repository.GettAllCommands(); if (commandItems != null) { return(Ok(_mapper.Map <IEnumerable <CommandReadDto> >(commandItems))); } return(NotFound()); }