Ejemplo n.º 1
0
 public async Task <IEnumerable <Brand> > GetAllBrand()
 {
     return(await WithConnection(async conn =>
     {
         var query = await _dapperHelper.GetAllBrands <Brand>(conn, _commandText.GetBrands);
         return query;
     }));
 }