/// <summary> /// 删除一个实体 /// </summary> /// <param name="Entity"></param> /// <returns></returns> public static async Task <ExcuteResult> DeleteRecord(string UserId) { ExcuteResult JsonResult = await DataApiRepository.DeleteApiUri <ExcuteResult>(_ApiUrlBase + "Note/?Id=" + UserId).ConfigureAwait(false); return(JsonResult); }
/// <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> /// 删除一个计划信息 /// </summary> /// <param name="DelePlan"></param> /// <returns></returns> public static async Task <ExcuteResult> DeletePlan(Lib.PlanEntity DelePlan) { ExcuteResult JsonResult = await DataApiRepository.DeleteApiUri <ExcuteResult>(_ApiUrlBase + "Plan/" + DelePlan.Id).ConfigureAwait(false); return(JsonResult); }
/// <summary> /// 删除一个实体 /// </summary> /// <param name="Entity"></param> /// <returns></returns> public static async Task <ExcuteResult> DeleteEntity(Lib.MemberInfoEntity Entity) { ExcuteResult JsonResult = await DataApiRepository.DeleteApiUri <ExcuteResult>(_ApiUrlBase + "DeleteEntity/?Id=" + Entity.Id).ConfigureAwait(false); return(JsonResult); }
/// <summary> /// 删除一个实体 /// </summary> /// <param name="PEntity"></param> /// <returns></returns> public static async Task <ExcuteResult> DeleteRecord(Lib.MemberAppraiseEntity PEntity) { ExcuteResult JsonResult = await DataApiRepository.DeleteApiUri <ExcuteResult>(_ApiUrlBase + "MemberAppraise/?Id=" + PEntity.Id).ConfigureAwait(false); return(JsonResult); }
/// <summary> /// 删除文件 /// </summary> /// <param name="DelFile">预删除的文件</param> /// <returns></returns> public static async Task <ExcuteResult> DeleteFileInfo(Lib.PlanFileEntity DelFile) { ExcuteResult JsonResult = await DataApiRepository.DeleteApiUri <ExcuteResult>(_ApiUrlBase + "PlanFile/?FileId=" + DelFile.Id).ConfigureAwait(false); return(JsonResult); }