Example #1
0
 /// <summary>
 /// Date Created:   06/Nov/2013
 /// Created By:     Josephine Gad
 /// (description)   Save Service Provider Vendor
 /// ---------------------------------------------------------------
 /// </summary>
 public static void PortAgentVendorsSave(Int32 iPortAgentID, string sPortAgentName, Int32 iCountryID,
                                         Int32 iCityID, string sContactNo, string sFaxNo, string sContactPerson, string sAddress,
                                         string sEmailCc, string sEmailTo, string sWebsite, string sVendorID,
                                         string UserId, string strLogDescription, string strFunction, string strPageName, DateTime DateGMT, DateTime CreatedDate,
                                         DataTable dtAirport, DataTable dtVehicleType)
 {
     try
     {
         VendorMaintenanceDAL.PortAgentVendorsSave(iPortAgentID, sPortAgentName, iCountryID,
                                                   iCityID, sContactNo, sFaxNo, sContactPerson, sAddress,
                                                   sEmailCc, sEmailTo, sWebsite, sVendorID, UserId, strLogDescription,
                                                   strFunction, strPageName, DateGMT, CreatedDate, dtAirport, dtVehicleType);
     }
     catch (Exception ex)
     {
         throw ex;
     }
     finally
     {
         if (dtAirport != null)
         {
             dtAirport.Dispose();
         }
         if (dtVehicleType != null)
         {
             dtVehicleType.Dispose();
         }
     }
 }