C# 클래스 Cats.Services.Hub.PeriodService

상속: IPeriodService
파일 보기 프로젝트 열기: edgecomputing/cats

공개 메소드들

메소드 설명
AddPeriod ( Period entity ) : bool
DeleteById ( int id ) : bool
DeletePeriod ( Period entity ) : bool
Dispose ( ) : void
EditPeriod ( Period entity ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : Period
GetAllPeriod ( ) : List
GetMonths ( int year ) : List
GetPeriod ( int year, int month ) : Period
GetYears ( ) : List
PeriodService ( IUnitOfWork unitOfWork ) : System

메소드 상세

AddPeriod() 공개 메소드

public AddPeriod ( Period entity ) : bool
entity Cats.Models.Hubs.Period
리턴 bool

DeleteById() 공개 메소드

public DeleteById ( int id ) : bool
id int
리턴 bool

DeletePeriod() 공개 메소드

public DeletePeriod ( Period entity ) : bool
entity Cats.Models.Hubs.Period
리턴 bool

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

EditPeriod() 공개 메소드

public EditPeriod ( Period entity ) : bool
entity Cats.Models.Hubs.Period
리턴 bool

FindBy() 공개 메소드

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
리턴 List

FindById() 공개 메소드

public FindById ( int id ) : Period
id int
리턴 Cats.Models.Hubs.Period

GetAllPeriod() 공개 메소드

public GetAllPeriod ( ) : List
리턴 List

GetMonths() 공개 메소드

public GetMonths ( int year ) : List
year int
리턴 List

GetPeriod() 공개 메소드

public GetPeriod ( int year, int month ) : Period
year int
month int
리턴 Cats.Models.Hubs.Period

GetYears() 공개 메소드

public GetYears ( ) : List
리턴 List

PeriodService() 공개 메소드

public PeriodService ( IUnitOfWork unitOfWork ) : System
unitOfWork IUnitOfWork
리턴 System