public async Task <bool> InsertCommentAsset(AssetComment assetComment)
        {
            var result = await _assetCommentrepository.InsertAsync(assetComment);

            if (result != null)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
 public static AssetCommentAddRequestBuilder Add(AssetComment comment)
 {
     return(new AssetCommentAddRequestBuilder(comment));
 }
 public static AssetComment CreateAssetComment(int ID, global::System.DateTime commentDate, string comment, int assetComment_Asset, byte[] rowVersion)
 {
     AssetComment assetComment = new AssetComment();
     assetComment.Id = ID;
     assetComment.CommentDate = commentDate;
     assetComment.Comment = comment;
     assetComment.AssetComment_Asset = assetComment_Asset;
     assetComment.RowVersion = rowVersion;
     return assetComment;
 }
 public void AddToAssetComments(AssetComment assetComment)
 {
     base.AddObject("AssetComments", assetComment);
 }