コード例 #1
0
        internal Keep EditCounters(Keep update)
        {
            Keep exists = _repo.GetById(update.Id);

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