C# Class Oditel.Cirqus.Services.CustomerService

Inheritance: ICustomerService
Exibir arquivo Open project: SamuelDebruyn/AD5-Cirqus-demo Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AddCustomer ( ICustomer customer ) : System.Guid
AddCustomer ( string name, string email, Address address ) : System.Guid
CustomerService ( ICommandProcessor processor, IQueryable customers ) : System
GetAllCustomers ( ) : ICollection
GetCustomer ( System.Guid customerId ) : ICustomer

Method Details

AddCustomer() public method

public AddCustomer ( ICustomer customer ) : System.Guid
customer ICustomer
return System.Guid

AddCustomer() public method

public AddCustomer ( string name, string email, Address address ) : System.Guid
name string
email string
address Oditel.Models.CustomerContext.Address
return System.Guid

CustomerService() public method

public CustomerService ( ICommandProcessor processor, IQueryable customers ) : System
processor ICommandProcessor
customers IQueryable
return System

GetAllCustomers() public method

public GetAllCustomers ( ) : ICollection
return ICollection

GetCustomer() public method

public GetCustomer ( System.Guid customerId ) : ICustomer
customerId System.Guid
return ICustomer