C# Class Oditel.Cirqus.Services.CustomerService

Inheritance: ICustomerService
Afficher le fichier Open project: SamuelDebruyn/AD5-Cirqus-demo Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

public AddCustomer ( ICustomer customer ) : System.Guid
customer ICustomer
Résultat System.Guid

AddCustomer() public méthode

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

CustomerService() public méthode

public CustomerService ( ICommandProcessor processor, IQueryable customers ) : System
processor ICommandProcessor
customers IQueryable
Résultat System

GetAllCustomers() public méthode

public GetAllCustomers ( ) : ICollection
Résultat ICollection

GetCustomer() public méthode

public GetCustomer ( System.Guid customerId ) : ICustomer
customerId System.Guid
Résultat ICustomer