public List <vw_KeyValueDate> GetCircuitRollDates(int CircuitID, int SecretaryID) { try { return(RollsComp.GetCircuitRollDates(CircuitID, SecretaryID)); } catch (Exception ex) { HandleException(ex); return(null); } }
public List <vw_RollCases> GetRollCasesForOrdering(int CircuitID, int RollID) { try { return(RollsComp.GetSessionRollCasesOrder(CircuitID, RollID)); } catch (Exception ex) { HandleException(ex); return(null); } }
public List <vw_RollCases> GetRollCasesForOpening(int CircuitID, int SecretaryID) { List <vw_RollCases> SessionsList = RollsComp.GetRollSessions(CircuitID, SecretaryID); foreach (vw_RollCases RC in SessionsList) { if (SessionComp.IsSessionMinutesSaved((int)RC.SessionID)) { RC.MinutesOfSession = MinutesStatus.Saved; } else { RC.MinutesOfSession = MinutesStatus.NotSaved; } } return(SessionsList); }
public RollStatus OpenSessionRoll(int ProsecuterID, int CourtHall, int RollID) { try { RollStatus RollStat = RollsComp.OpenSessionRoll(RollID); if (RollStat == RollStatus.InProgress) { RollsComp.UpdateRollProsecuterAndCourtHall(RollID, ProsecuterID, CourtHall); return(RollStatus.InProgress); } else { return(RollStat); } } catch (Exception ex) { RollID = 0; HandleException(ex); return(RollStatus.NotStarted); } }
public bool UpdateRoll(vw_CaseConfiguration vw_CaseConfiguration) { return(RollsComp.UpdateRoll(vw_CaseConfiguration)); }
public List <vw_RollCases> GetCasesINRoll(int SessionID) { return(RollsComp.GetCasesINRoll(SessionID)); }
public List <vw_RollCases> GetUnApprovedMovmentCases(int RollID) { return(RollsComp.GetUnApprovedMovmentCases(RollID)); }
public void UpdateRollProsecuterAndCourtHall(long RollID, int ProsecuterID, int CourtHall) { RollsComp.UpdateRollProsecuterAndCourtHall(RollID, ProsecuterID, CourtHall); }
public List <vw_SessionData> GetRollsOpend(int SecretaryID, int UserTypeID) { return(RollsComp.GetRollsOpend(SecretaryID, UserTypeID)); }
public int?GetRollID(int circuitid, DateTime SessionDate) { return(RollsComp.GetRollID(circuitid, SessionDate)); }