private async Task DeleteOverShortDetail(OverShortDetail osd)
 {
     using (var ctx = new OverShortDetailService())
     {
         await ctx.DeleteOverShortDetail(osd.OverShortDetailId.ToString()).ConfigureAwait(false);
     }
 }
Example #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));
     }
 }
 private async Task UpdateOverShortDetail(OverShortDetail osd)
 {
     using (var ctx = new OverShortDetailService())
     {
         await ctx.UpdateOverShortDetail(osd).ConfigureAwait(false);
     }
 }
Example #4
0
 public async Task SaveOverShortDetail(OverShortDetail i)
 {
     if (i == null)
     {
         return;
     }
     using (var ctx = new OverShortDetailService())
     {
         await ctx.UpdateOverShortDetail(i).ConfigureAwait(false);
     }
 }