예제 #1
0
        public IHttpActionResult Delete(int id)
        {
            try
            {
                urlRepository.Delete(id);
            }
            catch (Exception e)
            {
                return(InternalServerError(e));
            }

            return(Ok());
        }