public int SaveInfoApp(InfoAp entity)
        {
            if (entity.ID == default)
            {
                context.Entry(entity).State = EntityState.Added;
            }
            else
            {
                context.Entry(entity).State = EntityState.Modified;
            }
            context.SaveChanges();

            return(entity.ID);
        }
 public void DeleteInfoApp(InfoAp entity)
 {
     context.infoAps.Remove(entity);
     context.SaveChanges();
 }