Zbiór zmian 970 dla trunk/eCard/eCardMVC/Platnosci/Controllers/AccountController.cs
- Data:
- 2009-12-23 11:26:06 (16 years ago)
- Pliki:
-
- 1 zmodyfikowane
-
trunk/eCard/eCardMVC/Platnosci/Controllers/AccountController.cs (zmodyfikowane) (4 diffs)
Legenda:
- Bez zmian
- Dodane
- Usunięte
-
trunk/eCard/eCardMVC/Platnosci/Controllers/AccountController.cs
r950 r970 3 3 using System.Web.Mvc; 4 4 using System.Web.Security; 5 using Platnosci.Core.Linq; 5 using adMoto.Payments.Core; 6 using adMoto.Payments.Core.Data; 7 using adMoto.Payments.Core.Interfaces; 6 8 using Platnosci.Models; 7 using Platnosci.Core.Interface;8 9 9 10 namespace Platnosci.Controllers … … 12 13 public class AccountController : Controller 13 14 { 14 private readonly IRepository< vPlatnosciEcard> _repository;15 private readonly IRepository<Invoice> _repository; 15 16 private readonly FunkcjePlatnosci _funkcjePlatnosci; 16 17 … … 23 24 public AccountController() 24 25 { 25 _repository = new Repository< vPlatnosciEcard>(new DataContext());26 _repository = new Repository<Invoice>(new DataContext()); 26 27 FormsAuth = new FormsAuthenticationService(); 27 28 _funkcjePlatnosci = new FunkcjePlatnosci(); 28 29 } 29 30 30 public AccountController(IFormsAuthentication formsAuth, IRepository< vPlatnosciEcard> repository, FunkcjePlatnosci func)31 public AccountController(IFormsAuthentication formsAuth, IRepository<Invoice> repository, FunkcjePlatnosci func) 31 32 { 32 33 _repository = repository; … … 50 51 { 51 52 _funkcjePlatnosci.SetLanguage(language); 52 var platnosc = new vPlatnosciEcard();53 var platnosc = new Invoice(); 53 54 if (!ValidateLogOn(nip, numerFaktury)) 54 55 {
