Index: trunk/eCard/eCardMVC/Platnosci.Tests/Web/Function.cs
===================================================================
--- trunk/eCard/eCardMVC/Platnosci.Tests/Web/Function.cs (revision 896)
+++ trunk/eCard/eCardMVC/Platnosci.Tests/Web/Function.cs (revision 930)
@@ -1,6 +1,3 @@
 ﻿using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
 using Platnosci.Core.Linq;
 using System.Web.Mvc;
@@ -11,8 +8,7 @@
     public class Function
     {
-        public vPlatnosciEcard createInvoice(int id, string nip, string fak_numer, decimal brutto, byte SystemKsiegowy)
+        public vPlatnosciEcard CreateInvoice(int id, string nip, string fak_numer, decimal brutto, byte SystemKsiegowy)
         {
-
-            vPlatnosciEcard platnosc = new vPlatnosciEcard();
+            var platnosc = new vPlatnosciEcard();
             platnosc.ID_faktury = id;
             platnosc.nip = nip;
@@ -23,7 +19,7 @@
             return platnosc;
         }
-        public PlatnosciEcard createNewPayment(int ordernumber, bool status, DateTime data, int id_faktury)
+        public PlatnosciEcard CreateNewPayment(int ordernumber, bool status, DateTime data, int id_faktury)
         {
-            PlatnosciEcard platnosc = new PlatnosciEcard();
+            var platnosc = new PlatnosciEcard();
             platnosc.ORDERNUMBER = ordernumber;
             platnosc.Status = status;
@@ -33,7 +29,7 @@
             return platnosc;
         }
-        public PotwierdzeniaEcard createConfirm(string code, int ordernumber)
+        public PotwierdzeniaEcard CreateConfirm(string code, int ordernumber)
         {
-            PotwierdzeniaEcard potwierdzenie = new PotwierdzeniaEcard();
+            var potwierdzenie = new PotwierdzeniaEcard();
             potwierdzenie.CURRENTSTATE = code;
             potwierdzenie.ORDERNUMBER = ordernumber;
@@ -41,14 +37,13 @@
             return potwierdzenie;
         }
-        public Payer createPayer(int id, string name, string surname)
+        
+        public Payer CreatePayer(int id, string name, string surname)
         {
-            Payer payer = new Payer();
-            payer.Id_faktury = id;
-            payer.FirstName = name;
-            payer.LastName = surname;
+            var payer = new Payer {Id_faktury = id, FirstName = name, LastName = surname};
 
             return payer;
         }
-        public ControllerContext createControllerContext(string UserIdentity)
+
+        public ControllerContext CreateControllerContext(string UserIdentity)
         {
 
