C# Class OpenImis.ModulesV2.InsureeModule.Logic.FamilyLogic

Inheritance: IFamilyLogic
Mostra file Open project: openimis/rest_api_c-sharp

Protected Properties

Property Type Description
familyRepository IFamilyRepository

Public Methods

Method Description
Create ( EnrollFamilyModel model, int userId, int officerId ) : int
FamilyLogic ( IConfiguration configuration, IHostingEnvironment hostingEnvironment ) : Microsoft.AspNetCore.Hosting
GetByCHFID ( string chfid, Guid userUUID ) : FamilyModel
GetOfficerIdByUserUUID ( Guid userUUID ) : int
GetUserIdByUUID ( Guid uuid ) : int

Method Details

Create() public method

public Create ( EnrollFamilyModel model, int userId, int officerId ) : int
model EnrollFamilyModel
userId int
officerId int
return int

FamilyLogic() public method

public FamilyLogic ( IConfiguration configuration, IHostingEnvironment hostingEnvironment ) : Microsoft.AspNetCore.Hosting
configuration IConfiguration
hostingEnvironment IHostingEnvironment
return Microsoft.AspNetCore.Hosting

GetByCHFID() public method

public GetByCHFID ( string chfid, Guid userUUID ) : FamilyModel
chfid string
userUUID Guid
return FamilyModel

GetOfficerIdByUserUUID() public method

public GetOfficerIdByUserUUID ( Guid userUUID ) : int
userUUID Guid
return int

GetUserIdByUUID() public method

public GetUserIdByUUID ( Guid uuid ) : int
uuid Guid
return int

Property Details

familyRepository protected_oe property

protected IFamilyRepository familyRepository
return IFamilyRepository