Example #1
0
 public int AddPopup(string popup)
 {
     try
     {
         return(_businessLogic.AddNewPopupLogic(popup));
     }
     catch (Exception)
     {
         return(-1);
     }
 }
Example #2
0
 public int AddPopup(string popup)
 {
     try
     {
         return(_businessLogic.AddNewPopupLogic(popup));
     }
     catch (Exception ex)
     {
         Console.WriteLine("AddLocationTab : " + ex.Message);
         return(-1);
     }
 }