Beispiel #1
0
        public ApiResponse Create(List <MakeParam> param)
        {
            MakeProcessor = new MakeProcessor();
            Response      = new ApiResponse();

            try
            {
                Response.text   = JsonConverter.JsonConverter.ObjToJson(MakeProcessor.Create(param));
                Response.result = true;

                return(Response);
            }
            catch
            {
                Response.text   = "Something went wrong :(";
                Response.result = false;

                return(Response);
            }
        }