private Models.DBObjects.ShopPaymentMethod MapModelToDbObject(ShopPaymentMethodModel shopPaymentMethodModel)
        {
            Models.DBObjects.ShopPaymentMethod dbShopPaymentMethod = new Models.DBObjects.ShopPaymentMethod();
            if (shopPaymentMethodModel != null)
            {
                dbShopPaymentMethod.ShopID          = shopPaymentMethodModel.ShopID;
                dbShopPaymentMethod.PaymentMethodID = shopPaymentMethodModel.PaymentMethodID;
                return(dbShopPaymentMethod);
            }

            return(null);
        }
        private ShopPaymentMethodModel MapDbOjectToModel(Models.DBObjects.ShopPaymentMethod dbShopPaymentMethod)
        {
            ShopPaymentMethodModel shopPaymentMethodModel = new ShopPaymentMethodModel();

            if (dbShopPaymentMethod != null)
            {
                shopPaymentMethodModel.ShopID          = dbShopPaymentMethod.ShopID;
                shopPaymentMethodModel.PaymentMethodID = dbShopPaymentMethod.PaymentMethodID;

                return(shopPaymentMethodModel);
            }

            return(null);
        }