public HttpResponseMessage DispatchOrder(string orderid, int storeid)
        {
            //ResponseStatus response = new ResponseStatus();
            int id = Convert.ToInt32(orderid);

            try
            {
                var data = _repository.DispatchOrder(id, storeid);
                if (data.Count() > 0)
                {
                    return(Request.CreateResponse(HttpStatusCode.OK, new { data }));
                }
                else
                {
                    return(Request.CreateResponse(HttpStatusCode.BadRequest, new { data }));
                }
            }
            catch (Exception ex)
            {
                return(Request.CreateErrorResponse(HttpStatusCode.BadRequest, "Something Worng !", ex));
            }
        }