C# Class SampleWebApiAspNetCore.Repositories.HouseRepository

Inheritance: IHouseRepository
Afficher le fichier Open project: FabianGosebrink/ASPNET-Core-WebAPI-Sample

Méthodes publiques

Méthode Description
Add ( HouseEntity toAdd ) : HouseEntity
Delete ( int id ) : void
GetAll ( ) : List
GetSingle ( int id ) : HouseEntity
HouseRepository ( ) : System.Collections.Generic
Update ( HouseEntity toUpdate ) : HouseEntity

Method Details

Add() public méthode

public Add ( HouseEntity toAdd ) : HouseEntity
toAdd SampleWebApiAspNetCore.Models.HouseEntity
Résultat SampleWebApiAspNetCore.Models.HouseEntity

Delete() public méthode

public Delete ( int id ) : void
id int
Résultat void

GetAll() public méthode

public GetAll ( ) : List
Résultat List

GetSingle() public méthode

public GetSingle ( int id ) : HouseEntity
id int
Résultat SampleWebApiAspNetCore.Models.HouseEntity

HouseRepository() public méthode

public HouseRepository ( ) : System.Collections.Generic
Résultat System.Collections.Generic

Update() public méthode

public Update ( HouseEntity toUpdate ) : HouseEntity
toUpdate SampleWebApiAspNetCore.Models.HouseEntity
Résultat SampleWebApiAspNetCore.Models.HouseEntity