public IActionResult DeleteLeaveType(long id)
        {
            LeaveType a = LeaveType_repo.Find(id);

            if (a == null)
            {
                return(NotFound());
            }
            LeaveType_repo.Delete(a);
            return(Ok());
        }