示例#1
0
        public void AddNewCustomerTest()
        {
            CRUDManager crudm = new CRUDManager();

            CustomerM c = new CustomerM();
            c.Name = "Jayendrak";
            c.NIC = "883481018v";
            c.Email = "*****@*****.**";

            crudm.AddNewCustomer(c);
        }
示例#2
0
        public void DetailedJobModelTest()
        {
            DetailedJobModelM job = new DetailedJobModelM();
            CustomerM c = new CustomerM();
            c.Name = "Jayendrak";
            c.NIC = "883481918v";
            c.Email = "*****@*****.**";
            job.Customer = c;

            CRUDManager crudm = new CRUDManager();

            bool b = crudm.AddNewJobDetailed(job);
        }
示例#3
0
 public void GetCustomerByIDTest()
 {
     CRUDManager crudm = new CRUDManager();
     //CustomerM c = crudm.GetCustomerByNIC("883481018v");
 }
示例#4
0
 public void GetAllCustomersTest()
 {
     CRUDManager crudm = new CRUDManager();
     ObservableCollection<CustomerM> cl = crudm.GetAllCustomers();
 }