Exemple #1
0
 public DataContracts.DC_Message STG_Cleanup(string SupplierImportFile_Id, string Entity)
 {
     if (Guid.TryParse(SupplierImportFile_Id, out Guid gSupplierImportFile_Id))
     {
         using (DataLayer.DL_UploadStaticData objDL = new DataLayer.DL_UploadStaticData())
         {
             return(objDL.STG_Cleanup(gSupplierImportFile_Id, Entity));
         }
     }
     else
     {
         return(new DataContracts.DC_Message {
             StatusCode = DataContracts.ReadOnlyMessage.StatusCode.Danger, StatusMessage = "Invalid Supplier Import File Id"
         });
     }
 }