public ActionResult <IEnumerable <CommandReadDTO> > GetAll() { var commandItems = _repository.GetAllAsync(); return(Ok(_mapper.Map <IEnumerable <CommandReadDTO> >(commandItems))); }
public ActionResult <IEnumerable <CommandReadDTO> > GetAll() { var commandItems = _repository.GetAllAsync(); return(Ok(_mapper.Map <IEnumerable <CommandReadDTO> >(commandItems))); }