features/cutover-to-ef #9
@ -43,7 +43,7 @@ public class ArticlesController : ControllerBase
|
|||||||
public ArticleDetailsDto GetDetailsById(Guid id)
|
public ArticleDetailsDto GetDetailsById(Guid id)
|
||||||
{
|
{
|
||||||
var item = _articles.GetById(id);
|
var item = _articles.GetById(id);
|
||||||
var sourceItem = _sources.GetByID(item.SourceID);
|
var sourceItem = _sources.GetByID(item.SourceId);
|
||||||
return ArticleDetailsDto.Convert(item, sourceItem);
|
return ArticleDetailsDto.Convert(item, sourceItem);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user