Exemple #1
0
 public bool SendEmployeeSTMALert(string Bar_Position_Id, System.Nullable <System.DateTime> eventDateTime, string eventType, string emp_card_no)
 {
     using (ModuleProc PROC = new ModuleProc(this.DYN_MODULE_NAME, "SendEmployeeSTMALert"))
     {
         try
         {
             using (ExCommsSQLDataAccess DataContext = this.GetDataContext())
             {
                 DataContext.rsp_GetSTMAlertForEmployeeCard(Bar_Position_Id, eventDateTime, eventType, emp_card_no);
                 return(true);
             }
         }
         catch (Exception ex)
         {
             Log.Exception(ex);
             return(false);
         }
     }
 }