public ApiResponse Update(long id, AutoPartParam param)
        {
            AutoPartProcessor = new AutoPartProcessor();
            Response          = new ApiResponse();

            try
            {
                AutoPartProcessor.Update(id, param);
                Response.text   = "Entity was successfully updated";
                Response.result = true;

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

                return(Response);
            }
        }
        public ApiResponse Update(List <AutoPartParam> param)
        {
            AutoPartProcessor = new AutoPartProcessor();
            Response          = new ApiResponse();

            try
            {
                AutoPartProcessor.Update(param);

                Response.text   = "Entities were successfully updated.";
                Response.result = true;

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

                return(Response);
            }
        }