public void Test_PopulateReviewList() { TradeReviewBLL bll = new TradeReviewBLL(_unit); List <TradeReview> trList = bll.GetList().ToList(); foreach (var tr in trList) { bll.PopulateReview(tr); bll.Update(tr); } }
public void Test_Create() { TradeReviewBLL bll = new TradeReviewBLL(_unit); TradeReview tr = bll.GetByID(5); bll.PopulateReview(tr); bll.Update(tr); //bll.CreateTradeReview(new Entity.TradeReview //{ // TradePositionId = 2008, // Notes = "test notes", // UpdatedBy = "System", // UpdatedDT = DateTime.Now //}); }