Exemple #1
0
 public Task <bool> PostNewCrystalReportRevision(ta_CrystalReportRevision1 rpt)
 {
     return(Task.Factory.StartNew(() =>
     {
         if (!Request.ValidateKmoAuthorizeToken())
         {
             throw new Exception("Invalid Token");
         }
         try
         {
             rpt.datestamp = Application.DateTime(false);
             Services.DbOperation(rpt, Enums.EntityMode.Insert);
             return true;
         }
         catch (Exception x)
         {
             throw x;
         }
     }));
 }
Exemple #2
0
 public Task <bool> PostUpdateCrystalReportRevision(ta_CrystalReportRevision1 rpt)
 {
     throw new NotImplementedException();
 }