コード例 #1
0
        public Keep GetByKeepId(int id)
        {
            Keep keep = _repo.GetByKeepId(id);

            if (keep != null)
            {
                return(keep);
            }
            throw new Exception("something went wrong");
        }