public Result <bool> AddParcel(Parcel parcel)
 {
     try
     {
         return(_parcelRepository.AddParcel(parcel));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
        public async Task Execute(CreateOrderInput input)
        {
            if (input == null)
            {
                _outputHandler.Error("Input is null.");
                return;
            }

            var parcel = new Parcel()
            {
                Name        = input.ParcelName,
                Description = input.ParcelDescription
            };
            var Parcel = await _parcelRepository.AddParcel(parcel);

            var order = new Order()
            {
                SenderId             = input.SenderId,
                RecipientName        = input.RecipientName,
                RecipientSurname     = input.RecipientSurname,
                RecipientPhonenumber = input.RecipientPhoneNumber,
                ParcelId             = Parcel.Id,
                Status = input.Status
            };
            await _orderRepository.RegisterOrder(order);

            var createOrderOutput = new CreateOrderOutput(
                input.SenderId,
                input.RecipientName,
                input.RecipientSurname,
                input.RecipientPhoneNumber,
                Parcel,
                input.Status
                );

            _outputHandler.Standard(createOrderOutput);
        }