public AddOverAllStatus EditOverAll(int caseID, long number, int prosecutionID, int year)
 {
     if (OverAllNumberRepository.IsOverAllEmpty(number, prosecutionID, year))
     {
         OverAllNumberRepository.DisableOverAll(caseID);
         int OverAllID = OverAllNumberRepository.GetOverAllID(number, prosecutionID, year, CaseRepository.GetCaseData(caseID).CourtID);
         MasterCaseRepository.AddOverAll(caseID, OverAllID);
     }
     return(AddOverAllStatus.OverAllReserved);
 }
 public vw_CrimeCaseBasicData GetCaseData(int caseID)
 {
     return(CaseRepository.GetCaseData(caseID));
 }