controller updated for entity

This commit is contained in:
James Tombleson 2023-06-23 20:11:09 -07:00
parent 3e3da9027f
commit 7d176cb643

View File

@ -43,7 +43,7 @@ public class ArticlesController : ControllerBase
public ArticleDetailsDto GetDetailsById(Guid id)
{
var item = _articles.GetById(id);
var sourceItem = _sources.GetByID(item.SourceID);
var sourceItem = _sources.GetByID(item.SourceId);
return ArticleDetailsDto.Convert(item, sourceItem);
}