public ICollection <ClientDto> WithName(string name) { var query = sqlQuery.SqlQuery <ClientDto>("SELECT Id, Name, Surname, PhoneNumber FROM Client WHERE Name = {0}", name); return(query.ToList()); }