private void CreateNewCustomer(ServiceContext context) { DataService dataService = new DataService(context); QueryService <Customer> queryService = new QueryService <Customer>(context); Customer customer = Inputs.CreateCustomer(dataService); ViewData["CustomerInfo"] = "Customer with ID:" + customer.Id + " created successfully"; ViewData["CustomerId"] = customer.Id; }