public EscalationUser getOperationsEscalationUser(int?costCenterId) { EscalationUser escUser = db.EscalationUsers.Include("secondEscalationUser").Include("thirdEscalationUser").Where(m => m.CostCenterId == costCenterId).FirstOrDefault(); return(escUser); }
public EscalationUser getOperationsEscalationUser(int?costCenterId) { EscalationUser escUser = db.EscalationUsers.Where(m => m.CostCenterId == costCenterId).FirstOrDefault(); return(escUser); }