コード例 #1
0
        //insert Multiple Vessel
        public int saveMultipleVessel(vessel_owner_ref vessel_owner_ref)
        {
            try
            {
                vessel_owner_ref.vessel.vessel_created_date       = DateTime.Now;
                vessel_owner_ref.vessel.vessel_created_by         = HttpContext.Current.User.Identity.Name;
                vessel_owner_ref.vessel.vessel_last_modified_date = DateTime.Now;
                vessel_owner_ref.vessel.vessel_last_modified_by   = HttpContext.Current.User.Identity.Name;
                vessel_owner_ref.vessel.vessel_status             = 1;

                return(OwnersService.saveMultipleVesselDB(vessel_owner_ref));
            }
            catch (Exception)
            {
                throw;
            }
        }