C# Class Cats.Services.Hub.PeriodService

Inheritance: IPeriodService
Afficher le fichier Open project: edgecomputing/cats

Méthodes publiques

Méthode Description
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

Method Details

AddPeriod() public méthode

public AddPeriod ( Period entity ) : bool
entity Cats.Models.Hubs.Period
Résultat bool

DeleteById() public méthode

public DeleteById ( int id ) : bool
id int
Résultat bool

DeletePeriod() public méthode

public DeletePeriod ( Period entity ) : bool
entity Cats.Models.Hubs.Period
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EditPeriod() public méthode

public EditPeriod ( Period entity ) : bool
entity Cats.Models.Hubs.Period
Résultat bool

FindBy() public méthode

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
Résultat List

FindById() public méthode

public FindById ( int id ) : Period
id int
Résultat Cats.Models.Hubs.Period

GetAllPeriod() public méthode

public GetAllPeriod ( ) : List
Résultat List

GetMonths() public méthode

public GetMonths ( int year ) : List
year int
Résultat List

GetPeriod() public méthode

public GetPeriod ( int year, int month ) : Period
year int
month int
Résultat Cats.Models.Hubs.Period

GetYears() public méthode

public GetYears ( ) : List
Résultat List

PeriodService() public méthode

public PeriodService ( IUnitOfWork unitOfWork ) : System
unitOfWork IUnitOfWork
Résultat System