Example #1
0
 public List <Patrimonio> GetComposto(int marcaId)
 {
     try
     {
         using (MarcaRepository conexao = new MarcaRepository())
         {
             patrimonios = conexao.GetComposto(marcaId);
             return(patrimonios);
         }
     }
     catch (Exception e)
     {
         throw new Exception(e.Message);
     }
 }