public string GetStatusName(string statusCode) { var status = dao.Query(x => x.StatusCode == statusCode) .FirstOrDefault(); return(status?.StatusName); }
public string GetStatusName(string statusCode) { var status = dao.Query(x => x.StatusCode == statusCode) .FirstOrDefault(); return(status?.StatusName); }