public void UpdateUserColumnsTest() { UserColumnRepository target = new UserColumnRepository(); string userID = "jimmy"; int reportID = 123; string settingName = "Initial Test"; string columnList = "xxx2"; target.UpdateUserColumns(userID, reportID, settingName, columnList); var jimmyList = target.GetUserColumns(userID, reportID); Assert.AreEqual(jimmyList.Count, 1); }
public void SaveUserColumns(string userId, int reportId, string setting) { _userColumnRepository.UpdateUserColumns(userId, reportId, "General", setting); }