Ejemplo n.º 1
0
 public FacultyWorkInfo Create(FacultyWorkInfo obj)
 {
     try
     {
         _facultyWorkInfoRepo.InsertCompletedEvent += objSubscriberClasses.SendEmail;
         _facultyWorkInfoRepo.InsertCompletedEvent += objSubscriberClasses.SendSMS;
         return(_facultyWorkInfoRepo.Create(obj));
     }
     catch (Exception ex)
     {
         _logger.Error(ex.Message, ex);
         throw ex;
     }
 }