예제 #1
0
        public void DeleteItem(string project, string app, string resource, string id, string format)
        {
            Response response = new Response();

            try
            {
                format = "jsonld";

                response = _abstractPrivder.DeleteItem(project, app, resource, id, format);
            }
            catch (Exception ex)
            {
                response.Level = StatusLevel.Error;
                response.Messages.Add(ex.Message);
            }

            PrepareResponse(ref response);
            _abstractPrivder.FormatOutgoingMessage <Response>(response, format, false);
        }