controller updated for entity
This commit is contained in:
parent
3e3da9027f
commit
7d176cb643
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user