C# Class RestService1.Service.SampleService

Inheritance: ISampleService
Show file Open project: oncast-labs/RestService1

Public Methods

Method Description
Create ( SampleItem instance ) : SampleItem
Delete ( int id ) : void
Get ( int id ) : SampleItem
GetCollection ( ) : List
Update ( int id, SampleItem instance ) : SampleItem

Method Details

Create() public method

public Create ( SampleItem instance ) : SampleItem
instance RestService1.Entities.SampleItem
return RestService1.Entities.SampleItem

Delete() public method

public Delete ( int id ) : void
id int
return void

Get() public method

public Get ( int id ) : SampleItem
id int
return RestService1.Entities.SampleItem

GetCollection() public method

public GetCollection ( ) : List
return List

Update() public method

public Update ( int id, SampleItem instance ) : SampleItem
id int
instance RestService1.Entities.SampleItem
return RestService1.Entities.SampleItem