Esempio n. 1
0
        public ErrorPoco UpdateErrorItemUserComment(int id, string comment)
        {
            var item = _repo.GetErrorItem(id);

            item.UserComment = comment;
            return(GetErrorItemPoco(_repo.UpdateErrorItem(item)));
        }
Esempio n. 2
0
        public async Task <ErrorPoco> UpdateErrorItemUserComment(string id, string comment)
        {
            var item = await _repo.GetErrorItem(id);

            item.UserComment = comment;
            return(GetErrorItemPoco(await _repo.UpdateErrorItem(item)));
        }