title: How to return a list of value from DataLayer
body: <p>This is my Business layer ,this code returns only a single value,
  How to return a list of value from DataLayer.</p>
  
  <pre><code> public class GetLocal
  {
      public BusinessObj.Tables.GetLocal GetItem(int TransId)
      {
          DataLayer.PL.GetLocal objGetLocalDL = new DataLayer.PL.GetLocal();
  
          try
          {
              return objGetLocalDL.GetItem(TransId);
  
          }
          catch (Exception ex)
          {
              throw new Exception(ex.Message, ex.InnerException);
          }       
      }   
  }
  </code></pre>