C# Class Service.ComputerController

Inheritance: ApiController
Exibir arquivo Open project: cdadmin/clonedeploy

Public Methods

Method Description
Delete ( int id ) : ValidationResult
Get ( int id ) : Models.Computer
Get ( ) : IEnumerable
GetFromMac ( string mac ) : Models.Computer
Post ( Models value ) : ValidationResult
Put ( Models value ) : ValidationResult

Method Details

Delete() public method

public Delete ( int id ) : ValidationResult
id int
return Models.ValidationResult

Get() public method

public Get ( int id ) : Models.Computer
id int
return Models.Computer

Get() public method

public Get ( ) : IEnumerable
return IEnumerable

GetFromMac() public method

public GetFromMac ( string mac ) : Models.Computer
mac string
return Models.Computer

Post() public method

public Post ( Models value ) : ValidationResult
value Models
return Models.ValidationResult

Put() public method

public Put ( Models value ) : ValidationResult
value Models
return Models.ValidationResult