// GET api/values public IEnumerable <string> Get() { var session = NhibernateConfig.OpenSession(); return(new[] { "value1", "value2" }); }