Question: what is the best way to get multiple resultsets to my api using linq or EF

as i have around 25 diffrent resultset 
[![enter image description here](https://i.stack.imgur.com/CqCJX.png)](https://i.stack.imgur.com/CqCJX.png)

but i only get out the first resultset to swagger using 

```
       [HttpGet]
       [Route("tire-tabel")]
       public List<DeviationCalculation_Result> TireTabel(decimal presentWidth, decimal presentAspectRatio, string presentRimSize, int maxDeviation)
                   {
                       using (var context = new OminiTireEntities())
                       {
                           String sql =
                           "SET NOCOUNT ON; " +
                           "EXEC [Tabel].[DeviationCalculation] " +
                           "@PresentWidth= '" + presentWidth + "', " +
                           "@PresentAspectRatio= '" + presentAspectRatio + "', " +
                           "@PresentInches= '" + presentRimSize + "', " +
                           "@MaxDeviation= '" + maxDeviation + "' ";

                           List<SqlParameter> sqlParams = new List<SqlParameter>();
                           sqlParams.Add(new SqlParameter("PresentWidth", (object) presentWidth ?? DBNull.Value));
                           sqlParams.Add(new SqlParameter("PresentAspectRatio", (object)presentAspectRatio ?? DBNull.Value));
                           sqlParams.Add(new SqlParameter("PresentInches", (object)presentRimSize ?? DBNull.Value));
                           sqlParams.Add(new SqlParameter("MaxDeviation", (object)maxDeviation ?? DBNull.Value));
                           var result = context.Database.SqlQuery<DeviationCalculation_Result>(sql).ToList<DeviationCalculation_Result>();               

return result;
                       }
                   }

```

Answer: 
Try using below code:

```
driver.findElementById("layout_ayarlar_ovit").isDisplayed() 

```
Assign the return value in isTrue variable (or name of your preference ) and in next line use assert with message :

boolean isTrue=driver.findElementById("com.tmob.AveaOIM:id/layout\_ayarlar\_ovit").isDisplayed();
Assert.assertTrue(true,isTrue, "Failed to locate element") ;

If assert fails, output will be "Failed to locate element" 
If assert pass , test will continue to next line.