public void AddNewCustomerTest() { CRUDManager crudm = new CRUDManager(); CustomerM c = new CustomerM(); c.Name = "Jayendrak"; c.NIC = "883481018v"; c.Email = "*****@*****.**"; crudm.AddNewCustomer(c); }
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); }
public void GetCustomerByIDTest() { CRUDManager crudm = new CRUDManager(); //CustomerM c = crudm.GetCustomerByNIC("883481018v"); }
public void GetAllCustomersTest() { CRUDManager crudm = new CRUDManager(); ObservableCollection<CustomerM> cl = crudm.GetAllCustomers(); }