C# Class AutomatedCaseworker.Data.CaseRepository

Inheritance: ICaseRepository
Mostra file Open project: AcklenAvenue/AutomatedCaseworker Class Usage Examples

Public Methods

Method Description
BlockNumber ( string cellPhoneNumber ) : void
CaseRepository ( ISession session ) : System
Create ( string someExistingNumber ) : Case
GetAllActive ( ) : IEnumerable
GetLastByCellPhoneNumber ( string cellPhoneNumber ) : Case
MarkCaseAsEmergency ( Case @case ) : void
MarkCaseAsInactive ( Case @case ) : void
UpdateLatestActivity ( System.Guid caseId ) : void
UpdateLocationInformation ( System.Guid caseId, string locationInformation ) : void
UpdateNotes ( System.Guid caseId, string notes ) : void
UpdateSecurityInformation ( System.Guid caseId, string securityInformation ) : void

Method Details

BlockNumber() public method

public BlockNumber ( string cellPhoneNumber ) : void
cellPhoneNumber string
return void

CaseRepository() public method

public CaseRepository ( ISession session ) : System
session ISession
return System

Create() public method

public Create ( string someExistingNumber ) : Case
someExistingNumber string
return AutomatedCaseworker.Domain.Entities.Case

GetAllActive() public method

public GetAllActive ( ) : IEnumerable
return IEnumerable

GetLastByCellPhoneNumber() public method

public GetLastByCellPhoneNumber ( string cellPhoneNumber ) : Case
cellPhoneNumber string
return AutomatedCaseworker.Domain.Entities.Case

MarkCaseAsEmergency() public method

public MarkCaseAsEmergency ( Case @case ) : void
@case AutomatedCaseworker.Domain.Entities.Case
return void

MarkCaseAsInactive() public method

public MarkCaseAsInactive ( Case @case ) : void
@case AutomatedCaseworker.Domain.Entities.Case
return void

UpdateLatestActivity() public method

public UpdateLatestActivity ( System.Guid caseId ) : void
caseId System.Guid
return void

UpdateLocationInformation() public method

public UpdateLocationInformation ( System.Guid caseId, string locationInformation ) : void
caseId System.Guid
locationInformation string
return void

UpdateNotes() public method

public UpdateNotes ( System.Guid caseId, string notes ) : void
caseId System.Guid
notes string
return void

UpdateSecurityInformation() public method

public UpdateSecurityInformation ( System.Guid caseId, string securityInformation ) : void
caseId System.Guid
securityInformation string
return void