public Boolean Delete(SqlInt32 LeaveID, SqlInt32 UserID) { LeaveDAL dalLeave = new LeaveDAL(); if (dalLeave.Delete(LeaveID, UserID)) { return(true); } else { Message = dalLeave.Message; return(false); } }