Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public ActionResult <CommandReadDto> GetCommandById(int id) { var commandItem = _repository.GetCommmandById(id); if (commandItem != null) { return(Ok(_mapper.Map <CommandReadDto>(commandItem))); } return(NotFound()); }