public Exit CreateExit(Guid customerId, string driverId
                        , string carNumber, string phone, string desc)
 {
     try
     {
         Guid exitDriverId = new Guid(driverId);
         Exit exit         = new Exit()
         {
             CreationDate      = DateTime.Now,
             CustomerId        = customerId,
             ExitDate          = DateTime.Now,
             IsActive          = true,
             IsDeleted         = false,
             ExitComplete      = false,
             Order             = GenerateCode.GetExitOrder(),
             Code              = GenerateCode.GetExitCode(),
             ExitDriverId      = exitDriverId,
             CarNumber         = carNumber,
             DriverPhone       = phone,
             Description       = desc,
             WeighbridgeAmount = 0,
             InventoryAmount   = 0,
             CutAmount         = 0,
             LoadAmount        = 0,
             RemainAmount      = 0,
             OtherAmount       = 0,
             SubTotalAmount    = 0,
             TotalAmount       = 0,
             PaymentAmount     = 0
         };
         UnitOfWork.ExitRepository.Insert(exit);
         UnitOfWork.Save();
         return(exit);
     }
     catch (Exception e)
     {
         return(null);
     }
 }