Defining method, that returns the result from LINQ query