public LeaveDetail Details(int id)
        {
            var leave = objLeaveDAL.Details(id);

            return(leave);
        }