Example #1
0
 public static void DisableTaskNotificationScheduleType(Enums.DisableTaskNotificationScheduleType taskChangedType, int siteId, int userId, string lstTaskIDs = "")
 {
     try
     {
         using (var db = new Data.DBMEdition01Context())
         {
             db.ApiDisableTaskNotificationSchedules((int)taskChangedType, siteId, userId, lstTaskIDs);
         }
     }
     catch (Exception ex)
     {
         string sqlParam   = "";
         string methodName = "SendTaskEmail";
         new ExceptionLogServices().ExceptionLogInsert(ex.Message.ToString(), "", methodName, userId, null, sqlParam, string.Empty);
     }
 }