Example #1
0
        public static bool AddLeave(LeaveEntity leave)
        {
            bool added = false;

            try
            {
                added = LeaveDAL.AddLeave(leave);
            }
            catch (LeaveException)
            {
                throw;
            }

            return(added);
        }
Example #2
0
 public int AddLeave(LeaveModel model)
 {
     return(dal.AddLeave(model));
 }