//Add Group
        public void Add(ClientSubUnitTravelerTypeClientDetailVM clientSubUnitTravelerTypeClientDetailVM)
        {
            string adminUserGuid = HttpContext.Current.User.Identity.Name.Split(new[] { '|' })[0];

            db.spDesktopDataAdmin_InsertClientDetail_v1(
                clientSubUnitTravelerTypeClientDetailVM.ClientDetail.WebsiteAddress,
                clientSubUnitTravelerTypeClientDetailVM.ClientDetail.Logo,
                clientSubUnitTravelerTypeClientDetailVM.ClientDetail.InheritFromParentFlag,
                clientSubUnitTravelerTypeClientDetailVM.ClientDetail.ClientDetailName,
                clientSubUnitTravelerTypeClientDetailVM.ClientDetail.EnabledFlag,
                clientSubUnitTravelerTypeClientDetailVM.ClientDetail.EnabledDate,
                clientSubUnitTravelerTypeClientDetailVM.ClientDetail.ExpiryDate,
                clientSubUnitTravelerTypeClientDetailVM.ClientDetail.TripTypeId,
                "ClientSubUnitTravelerType",
                null,
                clientSubUnitTravelerTypeClientDetailVM.TravelerType.TravelerTypeGuid,
                clientSubUnitTravelerTypeClientDetailVM.ClientSubUnit.ClientSubUnitGuid,
                null,
                adminUserGuid
                );
        }
Пример #2
0
        //Add Group
        public void Add(ClientAccountClientDetailVM clientAccountClientDetailVM)
        {
            string adminUserGuid = HttpContext.Current.User.Identity.Name.Split(new[] { '|' })[0];

            db.spDesktopDataAdmin_InsertClientDetail_v1(
                clientAccountClientDetailVM.ClientDetail.WebsiteAddress,
                clientAccountClientDetailVM.ClientDetail.Logo,
                clientAccountClientDetailVM.ClientDetail.InheritFromParentFlag,
                clientAccountClientDetailVM.ClientDetail.ClientDetailName,
                clientAccountClientDetailVM.ClientDetail.EnabledFlag,
                clientAccountClientDetailVM.ClientDetail.EnabledDate,
                clientAccountClientDetailVM.ClientDetail.ExpiryDate,
                clientAccountClientDetailVM.ClientDetail.TripTypeId,
                "ClientAccount",
                clientAccountClientDetailVM.ClientAccount.ClientAccountNumber,
                null,
                null,
                clientAccountClientDetailVM.ClientAccount.SourceSystemCode,
                adminUserGuid
                );
        }