Example #1
0
        public void RenameIndicator(int user, int indicator, String newName)
        {
            List <UserIndicator> toChange = userIndicatorRepository.GetByCondition(x => x.user == user && x.indicator == indicator).ToList();

            toChange[0].name = newName;
            userIndicatorRepository.Update(toChange[0]);
            userIndicatorRepository.Save();
        }