Index: trunk/eCard/eCardMVC/Platnosci/Controllers/AccountController.cs
===================================================================
--- trunk/eCard/eCardMVC/Platnosci/Controllers/AccountController.cs (revision 950)
+++ trunk/eCard/eCardMVC/Platnosci/Controllers/AccountController.cs (revision 970)
@@ -3,7 +3,8 @@
 using System.Web.Mvc;
 using System.Web.Security;
-using Platnosci.Core.Linq;
+using adMoto.Payments.Core;
+using adMoto.Payments.Core.Data;
+using adMoto.Payments.Core.Interfaces;
 using Platnosci.Models;
-using Platnosci.Core.Interface;
 
 namespace Platnosci.Controllers
@@ -12,5 +13,5 @@
     public class AccountController : Controller
     {
-        private readonly IRepository<vPlatnosciEcard> _repository;
+        private readonly IRepository<Invoice> _repository;
         private readonly FunkcjePlatnosci _funkcjePlatnosci;
 
@@ -23,10 +24,10 @@
         public AccountController()
         {
-            _repository = new Repository<vPlatnosciEcard>(new DataContext());
+            _repository = new Repository<Invoice>(new DataContext());
             FormsAuth = new FormsAuthenticationService();
             _funkcjePlatnosci = new FunkcjePlatnosci();
         }
 
-        public AccountController(IFormsAuthentication formsAuth, IRepository<vPlatnosciEcard> repository, FunkcjePlatnosci func)
+        public AccountController(IFormsAuthentication formsAuth, IRepository<Invoice> repository, FunkcjePlatnosci func)
         {
             _repository = repository;
@@ -50,5 +51,5 @@
         {
             _funkcjePlatnosci.SetLanguage(language);
-            var platnosc = new vPlatnosciEcard();
+            var platnosc = new Invoice();
             if (!ValidateLogOn(nip, numerFaktury))
             {
