public HttpResponseMessage DeleteWarehouse(int WarehouseID)
        {
            WarehouseManager     warehouseManager    = new WarehouseManager();
            cls_common_responses clsCommonResponses1 = new cls_common_responses();
            HttpResponseMessage  response;

            try
            {
                cls_common_responses clsCommonResponses2 = warehouseManager.DeleteWarehouse(WarehouseID);
                int responseCode = clsCommonResponses2.ResponseCode;
                response = this.Request.CreateResponse <cls_common_responses>(HttpStatusCode.OK, clsCommonResponses2);
            }
            catch (Exception ex)
            {
                clsCommonResponses1.ResponseCode    = 400;
                clsCommonResponses1.ResponseMessage = "Something went wrong, please try again later.";
                response = this.Request.CreateResponse <cls_common_responses>(HttpStatusCode.OK, clsCommonResponses1);
            }
            return(response);
        }