示例#1
0
        internal Keep EditView(Keep update)
        {
            var found = _repo.GetById(update.Id);

            if (found == null)
            {
                throw new Exception("Invalid Id");
            }
            _repo.EditView(update);
            return(update);
        }