Beispiel #1
0
        /// <summary>
        /// 更新服务器系统设置
        /// </summary>
        /// <returns></returns>
        public static async Task <ExcuteResult> UpdateServerSettings(SettingServer PEntity)
        {
            ExcuteResult excuteResult = await DataApiRepository.PutApiUriAsync(_ApiUrlBase + "Settings", PEntity).ConfigureAwait(false);

            return(excuteResult);
        }
        /// <summary>
        /// 更新信息(采用PUT)
        /// </summary>
        /// <param name="Entity"></param>
        /// <returns></returns>
        public static async Task <ExcuteResult> UpdateRecord(Lib.NoteEntity PEntity)
        {
            ExcuteResult JsonResult = await DataApiRepository.PutApiUriAsync(_ApiUrlBase + "Note", PEntity).ConfigureAwait(false);

            return(JsonResult);
        }
        /// <summary>
        /// 更新文件信息(采用PUT)
        /// </summary>
        /// <param name="UpdatePlan"></param>
        /// <returns></returns>
        public static async Task <ExcuteResult> UpdateFileInfo(Lib.MemberFileEntity PEntity)
        {
            ExcuteResult JsonResult = await DataApiRepository.PutApiUriAsync(_ApiUrlBase + "MemberFile", PEntity).ConfigureAwait(false);

            return(JsonResult);
        }