コード例 #1
0
        public ActionResult PickupPoint(int pickupPointId)
        {
            int departmentId = Convert.ToInt32(RouteData.Values["departmentId"]);

            DepartmentDao.UpdatePickUpPoint(departmentId, pickupPointId);
            return(RedirectToAction("Delegate"));
        }
コード例 #2
0
        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));
        }