using FrameworkDAL.CustomCode.CommentHistory; using FrameworkDAL.DTO.CommentHistory; using GB5Shared.DTO.Framework.Criteria; using GB5Shared.DTO.Framework.Login; using System.Collections.Generic; using System.Threading.Tasks; namespace FrameworkBLL.CommentHistory { public class CommentHistoryBLL : ICommentHistoryBLL { private readonly ICommentHistoryDAL _CommentHistoryDAL; public CommentHistoryBLL(ICommentHistoryDAL CommentHistoryDAL) { _CommentHistoryDAL = CommentHistoryDAL; } public async Task GetCommentHistoryAsync(int objectId, int objectTypeId, LoginDTO LoginDTO) { try { return await _CommentHistoryDAL.GetCommentHistoryAsync(objectId, objectTypeId, LoginDTO); } catch (Exception) { throw; } } } }