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)); }
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); }