public static string ToCriminalStatusString(this CriminalStatus source) { switch (source) { case CriminalStatus.HaveNot: return("Не имеет"); case CriminalStatus.Unclear: return("Неснятая"); case CriminalStatus.InProcess: return("Отбывает наказание"); case CriminalStatus.Checking: return("Ведется дознание"); case CriminalStatus.Clear: return("Снятая"); } return(string.Empty); }
public void ChangeCriminalStatus(CriminalStatus criminalStatus) { CriminalStatus = criminalStatus; }
public CriminalInfo(RegisterStatus registerStatus, CriminalStatus criminalStatus) { RegisterStatus = registerStatus; CriminalStatus = criminalStatus; }