예제 #1
0
        public ActionResult UpdateAgent(string ApplicationTypeID, string OrganizationID)
        {
            Mapper.CreateMap <BusinessObjects.Agent, Models.Customer.Agent>();
            IEnumerable <Models.Customer.Agent> Agent = Mapper.Map <IEnumerable <BusinessObjects.Agent>, IEnumerable <Models.Customer.Agent> >(service.updateAgent(ApplicationTypeID, OrganizationID));

            return(Json(Agent, JsonRequestBehavior.AllowGet));
        }