Ejemplo n.º 1
0
 public async Task <IEnumerable <ExportTemplate> > SearchExportTemplate(List <string> lst, List <string> includeLst = null)
 {
     using (var ctx = new ExportTemplateService())
     {
         return(await ctx.GetExportTemplatesByExpressionLst(lst, includeLst).ConfigureAwait(false));
     }
 }
Ejemplo n.º 2
0
 public async Task SaveExportTemplate(ExportTemplate i)
 {
     if (i == null)
     {
         return;
     }
     using (var ctx = new ExportTemplateService())
     {
         await ctx.UpdateExportTemplate(i).ConfigureAwait(false);
     }
 }