コード例 #1
0
 /// <summary>
 /// Business method to Delete Events.
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public bool DeleteEventBAL(int id)
 {
     try
     {
         eventDAL.DeleteEventDAL(id);
         return(true);
     }
     catch (DALException dalEx)
     {
         throw new Exception(dalEx.Message);
     }
     catch (Exception)
     {
         throw new Exception(Resource.BALErrorMessage);
     }
 }