public void CreateCommentForAllRecords() { var newComment = new CommentDto { ApplyToAll = true, AdaptivReconId = 10, BusinessDate = DateTime.Now, CommentDate = DateTime.Now, Comments = "Test Single comments", ReconStatus = "Items in Source", }; var commentsController = new CommentController(); //Assign commentsController.CreateComments(newComment); }
public void CreateComment() { var newComment = new CommentDto { ApplyToAll = false, AdaptivReconId = 11, BusinessDate = DateTime.Now, CommentDate = DateTime.Now, Comments = "Test Single comments2", ReconStatus = "Items in Source", Reference = "M589213000" }; var commentsController = new CommentController(); //Assign commentsController.CreateComments(newComment); }