I need in a single expression to bring three possible results. If date is up to 15dd, it returns 1, if it is between 15 and 45 dd returns 2 and if it is greater than 45 it returns 3. This is my lambda and the corresponding date field.
var resultado = webDB.T_Controle_Importacao.Where(ci => ci.DataTransacao....)
How do I bring three possible results?