/// <summary> /// Constructor to initialize itemBl, commentBl, and relationBL /// </summary> /// <param name="itemBl">Class with item business logic</param> /// <param name="commentBl">Class with comment business logic</param> /// <param name="relationBl">Class with ItemRelation business logic</param> public ItemController(IItemBl itemBl, ICommentBl commentBl, IItemRelationBl relationBl) { _itemBl = itemBl; _commentBl = commentBl; _itemRelationBl = relationBl; }
/// <summary> /// Constructor to initialize CommentBL /// </summary> /// <param name="commentBl">Class with comment business logic</param> public CommentController(ICommentBl commentBl) { _commentBl = commentBl; }