Index: trunk/eCard/eCardMVC/Platnosci/Controllers/AccountController.cs
===================================================================
--- trunk/eCard/eCardMVC/Platnosci/Controllers/AccountController.cs (revision 948)
+++ trunk/eCard/eCardMVC/Platnosci/Controllers/AccountController.cs (revision 949)
@@ -23,5 +23,5 @@
         public AccountController()
         {
-            _repository = new Repository<vPlatnosciEcard>(new DataContext1());
+            _repository = new Repository<vPlatnosciEcard>(new DataContext());
             FormsAuth = new FormsAuthenticationService();
             _funkcjePlatnosci = new FunkcjePlatnosci();
Index: trunk/eCard/eCardMVC/Platnosci/Controllers/MerchantController.cs
===================================================================
--- trunk/eCard/eCardMVC/Platnosci/Controllers/MerchantController.cs (revision 948)
+++ trunk/eCard/eCardMVC/Platnosci/Controllers/MerchantController.cs (revision 949)
@@ -28,6 +28,6 @@
         public MerchantController()
         {
-            _repVPayment = new Repository<vPlatnosciEcard>(new DataContext1());
-            _repPayment = new Repository<PlatnosciEcard>(new DataContext1());
+            _repVPayment = new Repository<vPlatnosciEcard>(new DataContext());
+            _repPayment = new Repository<PlatnosciEcard>(new DataContext());
             _funkcjePlatnosci = new FunkcjePlatnosci();
             _translateManager = new Translation();
@@ -79,5 +79,5 @@
             linkOk += "/" + newPayment.IDFaktury + "?o=" + orderek;
 
-            if (merchant != null && !String.IsNullOrEmpty(merchant.merchntId))
+            if (merchant != null && !String.IsNullOrEmpty(merchant.Id))
                 SendRequest(newPayment, hash, merchant, linkFail, linkOk);
             else 
@@ -130,5 +130,5 @@
             var dane = "&orderDescription=&amount=" + platnosc.AMOUNT;
             dane += "&currency=" + platnosc.CURRENCY;
-            dane += string.Format("&merchantId={0}&password={1}", merchant.merchntId, merchant.merchantPassword);
+            dane += string.Format("&merchantId={0}&password={1}", merchant.Id, merchant.Password);
 
             var bdata = System.Text.Encoding.ASCII.GetBytes(dane);
@@ -154,5 +154,5 @@
             var dane = "&AMOUNT=" + m.AMOUNT + "&CURRENCY=" + m.CURRENCY + "&ORDERNUMBER=" + m.ORDERNUMBER;
             dane += "&NAME=" + m.NAME + "&SURNAME=" + m.SURNAME + "&LANGUAGE=" + m.LANGUAGE + "&CHARSET=ISO-8859-2";
-            dane += "&COUNTRY=616&PAYMENTTYPE=CARDS&JS=1&HASH=" + hash + "&MERCHANTID=" + merchant.merchntId + "&AUTODEPOSIT=" + m.AUTODEPOSIT;
+            dane += "&COUNTRY=616&PAYMENTTYPE=CARDS&JS=1&HASH=" + hash + "&MERCHANTID=" + merchant.Id + "&AUTODEPOSIT=" + m.AUTODEPOSIT;
             dane += "&LINKFAIL=" + linkfail + "&LINKOK=" + linkok + "&SESSIONID=" + m.SESSIONID;
             Response.Redirect(adres + dane);
@@ -174,11 +174,11 @@
             if (systemKs == "2")
             {
-                merchant.merchntId = "171485000";
-                merchant.merchantPassword = "ashSeth2";
+                merchant.Id = "171485000";
+                merchant.Password = "ashSeth2";
             }
             else
             {
-                merchant.merchntId = "170906000";
-                merchant.merchantPassword = "JaYpqfs0";
+                merchant.Id = "170906000";
+                merchant.Password = "JaYpqfs0";
             }              
             return merchant;
Index: trunk/eCard/eCardMVC/Platnosci/Controllers/PlatnoscController.cs
===================================================================
--- trunk/eCard/eCardMVC/Platnosci/Controllers/PlatnoscController.cs (revision 948)
+++ trunk/eCard/eCardMVC/Platnosci/Controllers/PlatnoscController.cs (revision 949)
@@ -21,7 +21,7 @@
         public PlatnoscController()
         {
-            _repVPayment = new Repository<vPlatnosciEcard>(new DataContext1());
-            _repPayment = new Repository<PlatnosciEcard>(new DataContext1());
-            _repConfirm = new Repository<PotwierdzeniaEcard>(new DataContext1());
+            _repVPayment = new Repository<vPlatnosciEcard>(new DataContext());
+            _repPayment = new Repository<PlatnosciEcard>(new DataContext());
+            _repConfirm = new Repository<PotwierdzeniaEcard>(new DataContext());
             _funkcjePlatnosci = new FunkcjePlatnosci();
             _translateManager = new Translation();         
