Example #1
0
        public HttpResponseMessage PostPlan(SetPlanInfo item)
        {
            int ret = repository.SetPlan(pclsCache, item.PlanNo, item.PatientId, Convert.ToInt32(item.StartDate), Convert.ToInt32(item.EndDate), item.Module, Convert.ToInt32(item.Status), item.DoctorId, item.piUserId, item.piTerminalName, new CommonFunction().getRemoteIPAddress(), item.piDeviceType);

            return(new ExceptionHandler().SetData(Request, ret));
        }
 public HttpResponseMessage PostPlan(SetPlanInfo item)
 {
     int ret = repository.SetPlan(pclsCache, item.PlanNo, item.PatientId, Convert.ToInt32(item.StartDate), Convert.ToInt32(item.EndDate), item.Module, Convert.ToInt32(item.Status), item.DoctorId, item.piUserId, item.piTerminalName, new CommonFunction().getRemoteIPAddress(), item.piDeviceType);
     return new ExceptionHandler().SetData(Request, ret);
 }