コード例 #1
0
        public ContentResult Delete(long id)
        {
            var context    = new ContextImplement();
            var controller = new Implem.Pleasanter.Controllers.Api_ItemsController();
            var result     = controller.Delete(context: context, id: id);

            return(result.ToHttpResponse(request: Request));
        }
コード例 #2
0
        public ContentResult Get(long id)
        {
            var context    = new ContextImplement();
            var controller = new Implem.Pleasanter.Controllers.Api_ItemsController();
            var result     = controller.Get(context: context, id: id);

            return(result);
        }