예제 #1
0
 private async Task DeleteOverShortDetail(OverShortDetail osd)
 {
     using (var ctx = new OverShortDetailService())
     {
         await ctx.DeleteOverShortDetail(osd.OverShortDetailId.ToString()).ConfigureAwait(false);
     }
 }
예제 #2
0
 public async Task <IEnumerable <OverShortDetail> > SearchOverShortDetail(List <string> lst, List <string> includeLst = null)
 {
     using (var ctx = new OverShortDetailService())
     {
         return(await ctx.GetOverShortDetailsByExpressionLst(lst, includeLst).ConfigureAwait(false));
     }
 }
예제 #3
0
 private async Task UpdateOverShortDetail(OverShortDetail osd)
 {
     using (var ctx = new OverShortDetailService())
     {
         await ctx.UpdateOverShortDetail(osd).ConfigureAwait(false);
     }
 }
예제 #4
0
 public async Task SaveOverShortDetail(OverShortDetail i)
 {
     if (i == null)
     {
         return;
     }
     using (var ctx = new OverShortDetailService())
     {
         await ctx.UpdateOverShortDetail(i).ConfigureAwait(false);
     }
 }