C# Class Cats.Services.EarlyWarning.AdminUnitService

Inheritance: IAdminUnitService
Show file Open project: edgecomputing/cats

Public Methods

Method Description
AddAdminUnit ( AdminUnit adminUnit ) : bool
AdminUnitService ( IUnitOfWork unitOfWork ) : System
DeleteAdminUnit ( AdminUnit adminUnit ) : bool
DeleteById ( int id ) : bool
Dispose ( ) : void
EditAdminUnit ( AdminUnit adminUnit ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : AdminUnit
GetAllAdminUnit ( ) : List
GetAllZones ( int regionID ) : List
GetRegions ( ) : List
GetWoreda ( int zoneId ) : List
GetZones ( int regionId ) : List

Method Details

AddAdminUnit() public method

public AddAdminUnit ( AdminUnit adminUnit ) : bool
adminUnit Cats.Models.AdminUnit
return bool

AdminUnitService() public method

public AdminUnitService ( IUnitOfWork unitOfWork ) : System
unitOfWork IUnitOfWork
return System

DeleteAdminUnit() public method

public DeleteAdminUnit ( AdminUnit adminUnit ) : bool
adminUnit Cats.Models.AdminUnit
return bool

DeleteById() public method

public DeleteById ( int id ) : bool
id int
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditAdminUnit() public method

public EditAdminUnit ( AdminUnit adminUnit ) : bool
adminUnit Cats.Models.AdminUnit
return bool

FindBy() public method

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
return List

FindById() public method

public FindById ( int id ) : AdminUnit
id int
return Cats.Models.AdminUnit

GetAllAdminUnit() public method

public GetAllAdminUnit ( ) : List
return List

GetAllZones() public method

public GetAllZones ( int regionID ) : List
regionID int
return List

GetRegions() public method

public GetRegions ( ) : List
return List

GetWoreda() public method

public GetWoreda ( int zoneId ) : List
zoneId int
return List

GetZones() public method

public GetZones ( int regionId ) : List
regionId int
return List