private string figureOutClient(PersonnelScheduleDetail wSD) { if (wSD.GETjobName().Contains("Nisqually")) { return("TPU"); } if (wSD.GETjobName().Contains("TPU")) { return("TPU Admin"); } return(wSD.GETjobName().Substring(0, 9)); }
private string figureOutStore(PersonnelScheduleDetail wSD) { if (wSD.GETpostDescription().Contains("SMC")) { return("SMC"); } if (wSD.GETpostDescription().Contains("CP")) { return("CP"); } if (wSD.GETjobName().Contains("Nisqually")) { return("Nisqually"); } return(wSD.GETjobName()); }