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