public IActionResult Get(Guid id) { return(ApiAction(() => { var dummy = _dummyService.Read(id); if (dummy == null) { return NotFound(id); } return Accepted(_mapper.Map <ReadedDummyViewModel>(dummy)); })); }
public IActionResult Get(Guid id) { return(ApiAction(() => { var dummy = _dummyService.Read(id); if (dummy == null) { return NotFound(id); } return Accepted(_mapper.Map <ReadedDummyViewModel>(dummy)); })); }