Esempio n. 1
0
        public ActionResult PickupPoint(int pickupPointId)
        {
            int departmentId = Convert.ToInt32(RouteData.Values["departmentId"]);

            DepartmentDao.UpdatePickUpPoint(departmentId, pickupPointId);
            return(RedirectToAction("Delegate"));
        }
        public ActionResult SetPickUpPointMobile(int pickupPointId)
        {
            int departmentId = Convert.ToInt32(RouteData.Values["departmentId"]);

            DepartmentDao.UpdatePickUpPoint(departmentId, pickupPointId);
            List <object> response = new List <object>();

            response.Add("Success");
            return(Json(response, JsonRequestBehavior.AllowGet));
        }