public void UpdateCaseStatus(CaseStatuses CaseStatus, int CaseID) { var Case = GetByID(CaseID); Case.NewCaseStatusID = (int)CaseStatus; Update(Case); Save(); }
public List <vw_KeyValue> GetDecisionTypes(CaseStatuses CaseStatuses) { List <vw_KeyValue> DecisionList = new List <vw_KeyValue>(); var allDecisions = GetAll().Where(x => x.DecisionLevel == (byte)CaseStatuses); foreach (Configurations_DecisionTypes obj in allDecisions) { DecisionList.Add(new vw_KeyValue { ID = obj.ID, Name = obj.Name }); } return(DecisionList); }
public List <vw_KeyValue> GetDecisionTypes(CaseStatuses CaseStatuses) { return(DecisionTypesComp.GetDecisionTypes(CaseStatuses)); }
public List <vw_KeyValue> GetDecisionTypes(CaseStatuses CaseStatuses) { return(DecisionTypesRepository.GetDecisionTypes(CaseStatuses)); }
public void UpdateCaseStatus(CaseStatuses CaseStatus, int CaseID) { CaseRepository.UpdateCaseStatus(CaseStatus, CaseID); }
public List <vw_KeyValue> GetDecisionTypes(CaseStatuses caseStatuses) { throw new NotImplementedException(); }