public async Task <SaveLeaveResponse> DeleteAsync(int id)
        {
            var existingLeave = await _leaveRepository.FindByIdAsync(id);

            await _unitOfWork.CompleteAsync();

            if (existingLeave == null)
            {
                return(new SaveLeaveResponse("Shipping not found."));
            }

            try
            {
                _leaveRepository.Remove(existingLeave);
                await _unitOfWork.CompleteAsync();


                return(new SaveLeaveResponse("Data Delete"));
            }
            catch (Exception ex)
            {
                // Do some logging stuff
                return(new SaveLeaveResponse($"An error occurred when deleting the Leave: {ex.Message}"));
            }
        }