C# Class Cats.Services.Procurement.WoredaHubService

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

Méthodes publiques

Méthode Description
AddWoredaHub ( WoredaHub woredaHub ) : bool
DeleteById ( int id ) : bool
DeleteWoredaHub ( WoredaHub woredaHub ) : bool
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

EditWoredaHub ( WoredaHub woredaHub ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : WoredaHub
Get ( bool>.Expression filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
GetAllWoredaHub ( ) : List
WoredaHubService ( IUnitOfWork unitOfWork ) : System

Method Details

AddWoredaHub() public méthode

public AddWoredaHub ( WoredaHub woredaHub ) : bool
woredaHub Cats.Models.WoredaHub
Résultat bool

DeleteById() public méthode

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

DeleteWoredaHub() public méthode

public DeleteWoredaHub ( WoredaHub woredaHub ) : bool
woredaHub Cats.Models.WoredaHub
Résultat bool

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

EditWoredaHub() public méthode

public EditWoredaHub ( WoredaHub woredaHub ) : bool
woredaHub Cats.Models.WoredaHub
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 ) : WoredaHub
id int
Résultat Cats.Models.WoredaHub

Get() public méthode

public Get ( bool>.Expression filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
filter bool>.Expression
orderBy Func
includeProperties string
Résultat IEnumerable

GetAllWoredaHub() public méthode

public GetAllWoredaHub ( ) : List
Résultat List

WoredaHubService() public méthode

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