public async static Task<string> InserirAsync(Banco oBanco)
 {
     using (var oDB = new CAPEntities())
     {
         try
         {
             oDB.Banco.Add(oBanco);
             await oDB.SaveChangesAsync();
             return null;
         }
         catch (Exception ex)
         {
             return ex.ToString();
         }
     }
 }
 public async static Task<string> AlterarAsync(Banco oBanco)
 {
     using (var oDB = new CAPEntities())
     {
         try
         {
             oDB.Banco.Attach(oBanco);
             oDB.Entry(oBanco).State = EntityState.Modified;
             await oDB.SaveChangesAsync();
             return null;
         }
         catch (Exception ex)
         {
             return ex.ToString();
         }
     }
 }
 public async Task<string> InserirAsync(Banco oBanco)
 {
     return await Banco.InserirAsync(oBanco);
 }
 public async Task<string> AlterarAsync(Banco oBanco)
 {
     return await Banco.AlterarAsync(oBanco);
 }