/// <summary> /// 删除一个实体 /// </summary> /// <param name="PEntity"></param> /// <returns></returns> public static async Task <ExcuteResult> DeleteRecord(Lib.MemberPayItemEntity PEntity) { ExcuteResult JsonResult = await DataApiRepository.DeleteApiUri <ExcuteResult>(_ApiUrlBase + "MemberPayItem/?Name=" + PEntity.Name).ConfigureAwait(false); return(JsonResult); }
/// <summary> /// 更新信息(采用PUT) /// </summary> /// <param name="PEntity"></param> /// <returns></returns> public static async Task <ExcuteResult> UpdateRecord(Lib.MemberPayItemEntity PEntity) { ExcuteResult JsonResult = await DataApiRepository.PutApiUriAsync(_ApiUrlBase + "MemberPayItem", PEntity).ConfigureAwait(false); return(JsonResult); }