public function buy(Delivery $delivery, OrderController $orderController, OrderItemController $orderItemController, SendMailController $sendMailController)
 {
     $products = Input::get('basked');
     $deliveryId = Input::get('deliveryId');
     $deliveryInfo = $delivery->getPriceDelivery($deliveryId);
     $user = Input::get('user');
     $info = $orderController->Order($user, $deliveryInfo, $products, $orderItemController);
     $id = $info['id'];
     Session::forget('product');
     Session::forget('bascedCount');
     $sendMailController->checkMail($user, $info, $deliveryInfo);
     return $id;
 }