コード例 #1
0
        public JsonResult LocalPhones_read_ByEmployee(Guid EmployeeID)
        {
            GetGeneralResponse <IEnumerable <LocalPhoneView> > response = new GetGeneralResponse <IEnumerable <LocalPhoneView> >();

            response = _localPhoneService.GetLocalPhonesByEmployee(EmployeeID);

            return(Json(response, JsonRequestBehavior.AllowGet));
        }
コード例 #2
0
        public JsonResult LocalPhones_Read(int?pageSize, int?pageNumber)
        {
            GetGeneralResponse <IEnumerable <LocalPhoneView> > response = new GetGeneralResponse <IEnumerable <LocalPhoneView> >();



            Guid EmployeeID = GetEmployee().ID;

            response = _localPhoneService.GetLocalPhonesByEmployee(EmployeeID);

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