/**
  * Método para crear nuevo registro
  */
 public static void insert(String name, decimal?boss, decimal?enterprise_id)
 {
     using (var conn = new db_entities()) {
         try {
             conn.SP_UNIT_INSERT(name, DateTime.Now, 1, boss, enterprise_id);
         } catch (Exception e) {
             throw e;
         }
     }
 }