Beispiel #1
0
        public List <ViewCustomerResponse> ViewCustomer()
        {
            CustomerServiceMethods      ObjCustomerServiceMethods = new CustomerServiceMethods();
            List <ViewCustomerResponse> CustomerList = ObjCustomerServiceMethods.ViewAllCustomer();

            return(CustomerList);
        }
Beispiel #2
0
        public int CheckCustomer(CheckCustomerRequest ObjCheckCustomerRequest)
        {
            CustomerServiceMethods ObjCustomerServiceMethods = new CustomerServiceMethods();

            int Count = ObjCustomerServiceMethods.CheckCustomer(ObjCheckCustomerRequest);

            return(Count);
        }
Beispiel #3
0
        public string UpdateCustomer(UpdateCustomerRequest ObjUpdateCustomerRequest)
        {
            CustomerServiceMethods ObjCustomerServiceMethods = new CustomerServiceMethods();

            string CustomerId = ObjCustomerServiceMethods.UpdateCustomerMethod(ObjUpdateCustomerRequest);

            return(CustomerId);
        }
Beispiel #4
0
        public int DeleteCustomer(CreateCustomerResponse ObjCreateCustomerResponse)
        {
            CustomerServiceMethods ObjCustomerServiceMethods = new CustomerServiceMethods();

            int Result = ObjCustomerServiceMethods.DeleteCustomerMethod(ObjCreateCustomerResponse);

            return(Result);
        }
Beispiel #5
0
        public int CreateCustomer(CreateCustomerRequest ObjCreateCustomerRequest)
        {
            CustomerServiceMethods ObjCustomerServiceMethods = new CustomerServiceMethods();

            int CustomerId = ObjCustomerServiceMethods.AddCustomer(ObjCreateCustomerRequest);

            return(CustomerId);
        }