BL.Citas.getCitasMedicas C# (CSharp) Method

getCitasMedicas() public method

public getCitasMedicas ( string username, System.DateTime fechai, System.DateTime fechaf ) : IQueryable
username string
fechai System.DateTime
fechaf System.DateTime
return IQueryable
        public IQueryable getCitasMedicas(string username, DateTime fechai, DateTime fechaf)
        {
            var query = from c in entities.citas_doctor
                        where c.fecha_hora > fechai && c.fecha_hora < fechaf && c.doctor_username == username
                        select new { c.expediente, c.fecha_hora };
            return query;
        }