C# 클래스 RibbitMvc.Services.RibbitService

상속: IRibbitService
파일 보기 프로젝트 열기: dato1357/Social-Network 1 사용 예제들

공개 메소드들

메소드 설명
Create ( User user, string status, System.DateTime created = null ) : Ribbit
Create ( int userId, string status, System.DateTime created = null ) : Ribbit
GetBy ( int id ) : Ribbit
GetTimelineFor ( int userId ) : IEnumerable
RibbitService ( IContext context ) : RibbitMvc.Data

메소드 상세

Create() 공개 메소드

public Create ( User user, string status, System.DateTime created = null ) : Ribbit
user RibbitMvc.Models.User
status string
created System.DateTime
리턴 RibbitMvc.Models.Ribbit

Create() 공개 메소드

public Create ( int userId, string status, System.DateTime created = null ) : Ribbit
userId int
status string
created System.DateTime
리턴 RibbitMvc.Models.Ribbit

GetBy() 공개 메소드

public GetBy ( int id ) : Ribbit
id int
리턴 RibbitMvc.Models.Ribbit

GetTimelineFor() 공개 메소드

public GetTimelineFor ( int userId ) : IEnumerable
userId int
리턴 IEnumerable

RibbitService() 공개 메소드

public RibbitService ( IContext context ) : RibbitMvc.Data
context IContext
리턴 RibbitMvc.Data