public ActionResult CreateRequest(RequestAllTicketWithStatusAgencyAPIViewModel model)
        {
            var result = _agencyDomain.CreateRequest(model);

            return(Json(new { result }, JsonRequestBehavior.AllowGet));
            //return null;
        }
        public HttpResponseMessage CreateRequest(RequestAllTicketWithStatusAgencyAPIViewModel model)
        {
            var result = _agencyDomain.CreateRequest(model);

            return(Request.CreateResponse(HttpStatusCode.OK, result));
        }