C# 클래스 ASPNETCoreAngular2Demo.Repositories.FoodRepository

상속: IFoodRepository
파일 보기 프로젝트 열기: FabianGosebrink/ASPNET-Core-Angular2-SignalR-Typescript

공개 메소드들

메소드 설명
Add ( FoodItem toAdd ) : FoodItem
Delete ( int id ) : void
FoodRepository ( ) : System
GetAll ( ) : List
GetSingle ( int id ) : FoodItem
Update ( FoodItem toUpdate ) : FoodItem

메소드 상세

Add() 공개 메소드

public Add ( FoodItem toAdd ) : FoodItem
toAdd ASPNETCoreAngular2Demo.Models.FoodItem
리턴 ASPNETCoreAngular2Demo.Models.FoodItem

Delete() 공개 메소드

public Delete ( int id ) : void
id int
리턴 void

FoodRepository() 공개 메소드

public FoodRepository ( ) : System
리턴 System

GetAll() 공개 메소드

public GetAll ( ) : List
리턴 List

GetSingle() 공개 메소드

public GetSingle ( int id ) : FoodItem
id int
리턴 ASPNETCoreAngular2Demo.Models.FoodItem

Update() 공개 메소드

public Update ( FoodItem toUpdate ) : FoodItem
toUpdate ASPNETCoreAngular2Demo.Models.FoodItem
리턴 ASPNETCoreAngular2Demo.Models.FoodItem